package com.invengo.library_rfid.analyze.utils.uhf.TIAOMHZH;


import android.annotation.SuppressLint;
import android.os.Build;

import com.invengo.library_rfid.analyze.utils.uhf.utils.Convert;
import com.invengo.library_rfid.analyze.utils.uhf.utils.TrimUtils;

import java.security.SecureRandom;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.Random;

public class CBookIDRule_split {
    private static String DLSXZL(String szFL, List<String> L) {
        try {
            String result = "99";
            int num = 0;
            while (num < L.size()) {
                if (!(Objects.equals(szFL, L.get(num)))) {
                    num++;
                    continue;
                }
                result = String.format("%02d", num);
                break;
            }
            return result;
        } catch (Exception e) {
            return "99";
        }
    }

    public static long BookIDToEPC(String szBarCode, int nLibraryCode) {
        long lBookID = 0;
        switch (nLibraryCode) {
            case 10046: //前卫路小学百楼分校
                lBookID = Convert_QWLXXBLFX(szBarCode);
                break;
            case 10047: //西安市第一中学
                lBookID = Convert_QWLXXBLFX(szBarCode);
                break;
            case 10048: //合肥第五中学
                lBookID = Convert_HFDYZX(szBarCode);
                break;
            case 10049: //凉山州图书馆
                lBookID = Convert_LSZTSG(szBarCode);
                break;
            case 10050: //信阳市平桥区震雷山街道办事处城市书房
                lBookID = Convert_XYSPQQZLSJDBSCCSSF(szBarCode);
                break;
            case 10051: //兴化中学
                lBookID = Convert_XHZX(szBarCode);
                break;
            case 10052: //深圳外国语学校
                lBookID = Convert_SZWGYXX(szBarCode);
                break;
            case 10053: //深圳实验学校崇文高中
                lBookID = Convert_SZSYXXCWGZ(szBarCode);
                break;
            case 10054: //闽西职业技术学院
                lBookID = Convert_MXZYJSXY(szBarCode);
                break;
            case 10055: //嘉兴市图书馆
                lBookID = Convert_JXSTSG(szBarCode);
                break;
            case 10057: //天府新区信息职业技术学院
                lBookID = Convert_TFXQXXZYJSXY(szBarCode);
                break;
            case 10058: //商洛中级人民法院图书馆
                lBookID = Convert_SLZJRMFYTSG(szBarCode);
                break;
            case 10059: //蚌埠新城实验学校临港分校
                lBookID = Convert_BBXCSYXXLGFX(szBarCode);
                break;
            case 10060: //江苏省太仓中等专业学校
                lBookID = Convert_JSSTCZDZYXX(szBarCode);
                break;
            case 10061: //青岛工程图书馆
                lBookID = Convert_QDGCTSG(szBarCode);
                break;
            case 10062: //龙江外国语学校附属小学
                lBookID = Convert_LJWGYXXFSXX(szBarCode);
                break;
            case 10063: //承德应用技术职业学院
                lBookID = Convert_CDYYJSZYXY(szBarCode);
                break;
            case 10064: //沈阳职业技术学院
                lBookID = Convert_SYZYJSXY(szBarCode);
                break;
            case 10065: //济南天桥区图书馆
                lBookID = Convert_JNTQQTSG(szBarCode);
                break;
            case 10066: //榆林档案馆
                lBookID = Convert_YLDAG(szBarCode);
                break;
            case 10067: //烟台市烟台山医院
                lBookID = Convert_YTSYTSYY(szBarCode);
                break;
            case 10068: //项城市人民检察院
                lBookID = Convert_XCSRMJCY(szBarCode);
                break;
            case 10069: //南通市竹行中学
                lBookID = Convert_NTSZXZX(szBarCode);
                break;
            case 10070: //大连海军舰艇学校
                lBookID = Convert_DLHJJTXX(szBarCode);
                break;
            case 10071: //南华大学
                lBookID = Convert_NHDX(szBarCode);
                break;
            case 10072: //贵州毕节博物馆文物管理智能系统
                lBookID = Convert_BJBWGWWGLZNXT(szBarCode);
                break;
            case 10073: //沈阳体育学院
                lBookID = Convert_SYTYXY(szBarCode);
                break;
            case 10074: //黔南民族医药高专
                lBookID = Convert_QNMZYYGZ(szBarCode);
                break;
            case 10075: //金东区图书馆
                lBookID = Convert_JDQTSG(szBarCode);
                break;
            case 10076: //广德市城市书房
                lBookID = Convert_GDSCSSF(szBarCode);
                break;
            case 10077: //印江县图书馆
                lBookID = Convert_YJXTSG(szBarCode);
                break;
            case 10078: //三亚航空旅游学院
                lBookID = Convert_SYHKLYXY(szBarCode);
                break;
            case 10079: //大鹏外国语小学
                lBookID = Convert_DPWGYXX(szBarCode);
                break;
            case 10080: //福建省泉州一中
                lBookID = Convert_FJSQZYZ(szBarCode);
                break;
            case 10081: //淄博技师学院
                lBookID = Convert_ZBJSXY(szBarCode);
                break;
            case 10082: //大连职业技术学院
                lBookID = Convert_DLZYJSXY(szBarCode);
                break;
            case 10083: //中国石油大学
                lBookID = Convert_ZGSYDX(szBarCode);
                break;
            case 10084: //安徽马鞍山学院
                lBookID = Convert_MASXY(szBarCode);
                break;
            case 10085: //保定市竞秀学校
                lBookID = Convert_BDSJXXX(szBarCode);
                break;
            case 10086: //昆山花桥国际商务城花溪小学
                lBookID = Convert_KSHQGJSWCHXXX(szBarCode);
                break;
            case 10087: //深圳市第二高级中学深汕实验学校
                lBookID = Convert_SSSYXX(szBarCode);
                break;
            case 10088: //山东省潍坊新华中学
                lBookID = Convert_SDSWFXHZX(szBarCode);
                break;
            case 10089: //潍坊市奎文区樱桃园小学
                lBookID = Convert_YTYXX(szBarCode);
                break;
            case 10090: //合肥师范附小四小
                lBookID = Convert_HFSFFXSX(szBarCode);
                break;
            case 10091: //福建省长乐师范学校附属小学
                lBookID = Convert_FJSCLSFXXFSXX(szBarCode);
                break;
            case 10092: //深圳市南山区文理实验学校(集团)文理二小
                lBookID = Convert_NSQWLSYXXWLEX(szBarCode);
                break;
            case 10093: //徐州玉潭实验学校
                lBookID = Convert_XZYTSYXX(szBarCode);
                break;
            case 10094: //璧山职教中心
                lBookID = Convert_BSZJZX(szBarCode);
                break;
            case 10095: //深圳市龙华区华育小学
                lBookID = Convert_SZSLHQHYXX(szBarCode);
                break;
            case 10096: //漳州市图书馆
                lBookID = Convert_ZZSTSG(szBarCode);
                break;
            case 10097: //武警湖北省总队训练基地
                lBookID = Convert_WJHBSZDXLJD(szBarCode);
                break;
            case 10098: //广东农工商职业技术学院
                lBookID = Convert_GDNGSZYJSXY(szBarCode);
                break;
            case 10099: //海军指挥学院
                lBookID = Convert_HJZHXY(szBarCode);
                break;
            case 10100: //衡阳幼儿师范高等专科学校
                lBookID = Convert_HYYESF(szBarCode);
                break;
            case 10101: //蚌埠二中禹会实验学校
                lBookID = Convert_BBEZYHSYXX(szBarCode);
                break;
            case 10102: //国家电网项目莱州供电公司职工书屋
                lBookID = Convert_GJDWLZGDGSZGSW(szBarCode);
                break;
            case 10103: //宣城市城市书房
                lBookID = Convert_XCSCSSF(szBarCode);
                break;
            case 10104: //宜宾学院
                lBookID = Convert_YBXY(szBarCode);
                break;
            case 10105: //北京金融法院
                lBookID = Convert_BJJRXY(szBarCode);
                break;
            case 10106: //中科院合肥物质科学研究院附属学校
                lBookID = Convert_ZKYHFWZKXYJYFSXX(szBarCode);
                break;
            case 10107: //克拉玛依职业技术学院
                lBookID = Convert_KLMYZYJSXY(szBarCode);
                break;
            case 10108: //重庆市万盛区图书馆
                lBookID = Convert_CQSWSQTSG(szBarCode);
                break;
            case 10109: //广州应元颐和实验学校
                lBookID = Convert_GZYYYHSYXX(szBarCode);
                break;
            case 10110: //龙川中学
                lBookID = Convert_LCZX(szBarCode);
                break;
            case 10111: //新疆师范大学附属中学
                lBookID = Convert_XJSFDXFSZX(szBarCode);
                break;
            case 10112: //遂宁市图书馆
                break;
            case 10113: //南雅中学
                lBookID = Convert_NYZX(szBarCode);
                break;
            case 10114: //石油化工管理干部学院
                lBookID = Convert_SYHGGLGBXY(szBarCode);
                break;
            case 10115: //信阳市羊山新区两个更好城市书房
                lBookID = Convert_XYSYSXQEGGHCSSF(szBarCode);
                break;
            case 10116: //海军工程大学教员之家
                lBookID = Convert_HJGCDXJYZJ(szBarCode);
                break;
            case 10117: //广西国际商务学院
                lBookID = Convert_GXGJSWXY(szBarCode);
                break;
            case 10118: //东南大学
                lBookID = Convert_DNDX(szBarCode);
                break;
            case 10119: //深圳市南山区第二外国语学校
                lBookID = Convert_SZSNSQDEWYXX(szBarCode);
                break;
            case 10120: //临汾市尧都区滨西小学
                lBookID = Convert_LFSXDQBXXX(szBarCode);
                break;
            case 10121: //合肥师范附小四小南校区
                lBookID = Convert_HFSFFXSXNXQ(szBarCode);
                break;
            case 10122: //合肥市龙川路中学
                lBookID = Convert_HFSLCLZX(szBarCode);
                break;
            case 10123: //天马集团图书馆
                lBookID = Convert_TMJTTSG(szBarCode);
                break;
            case 10124: //新乡市中级人民法院
                lBookID = Convert_XXSZJRMFY(szBarCode);
                break;
            case 10125: //兴安职业技术学院
                lBookID = Convert_XAZYJSXY(szBarCode);
                break;
            case 10126: //定远化工学校
                lBookID = Convert_DYHGXX(szBarCode);
                break;
            case 10127: //淮南师范大学
                lBookID = Convert_HNSFDX(szBarCode);
                break;
            //case 10127: //重庆第二师范学院
            //    lBookID = Convert_HNSFDX(szBarCode);
            //    break;
            case 10128: //徐州工程学院图书馆
                lBookID = Convert_XZGCXYTSG(szBarCode);
                break;
            case 10129: //中共铜仁市委党校
                lBookID = Convert_ZGTRSWDX(szBarCode);
                break;
            case 10130: //湖南抽水蓄能电站档案馆
                lBookID = Convert_HNCSXNDZDAG(szBarCode);
                break;
            case 10131: //山东财经大学燕山学院
                lBookID = Convert_SDCJDXYSXY(szBarCode);
                break;
            case 10132: //湖北省电力公司
                lBookID = Convert_HBSDLGS(szBarCode);
                break;
            case 10133: //江宁区政府总工会城市书房
                lBookID = Convert_JNQZFZGHCSSF(szBarCode);
                break;
            case 10134: //重庆三峡学院
                lBookID = Convert_CQSXXY(szBarCode);
                break;
            case 10135: //无锡城市职业技术学院
                lBookID = Convert_WXCSZYJSXY(szBarCode);
                break;
            case 10136: //深圳市坪山区科悦实验小学
                lBookID = Convert_SZSPSQKYSYXX(szBarCode);
                break;
            case 10137: //福州闽江学院
                lBookID = Convert_FZMJXY(szBarCode);
                break;
            case 10138: //深圳市龙岗区人民医
                lBookID = Convert_SZSLGQRMYY(szBarCode);
                break;
            case 10139: //南阳城市书房
                lBookID = Convert_NYCSSF(szBarCode);
                break;
            case 10140: //长岭县图书馆
                lBookID = Convert_CLXTSH(szBarCode);
                break;
            case 10141: //三峡大学
                lBookID = Convert_SXDX(szBarCode);
                break;
            case 10142: //南京师范大学附属龙岗学校
                lBookID = Convert_NJSFDXFSLGXX(szBarCode);
                break;
            case 10143: //江西环境工程职业学院
                lBookID = Convert_JXHJGCZYXY(szBarCode);
                break;
            case 10144: //中共隆昌市委党校
                lBookID = Convert_ZGLCSWDX(szBarCode);
                break;
            case 10145: //菏泽市万福实验学校初中部
                lBookID = Convert_HZSWFSYXXCZD(szBarCode);
                break;
            case 10146: //菏泽市万福实验学校高中部
                lBookID = Convert_HZSWFSYXXGZD(szBarCode);
                break;
            case 10147: //安徽省国家电网电力培训中心
                lBookID = Convert_AHSGJDWDLPXZX(szBarCode);
                break;
            case 10148: //广州美术学院
                lBookID = Convert_GZMSXY(szBarCode);
                break;
            case 10149: //广州美术学院
                lBookID = Convert_CZYRSFGDZKXX(szBarCode);
                break;
            case 10150: //莆田市荔城区教师进修学校
                lBookID = Convert_PTSLCQJSJXXX(szBarCode);
                break;
            case 10151: //色达佛学院五明图书馆
                lBookID = Convert_SDFXYWMTSG(szBarCode);
                break;
            case 10152: //中信养老项目
                lBookID = Convert_XXYLXM(szBarCode);
                break;
            case 10153: //色达佛学院莲洲图书馆
                lBookID = Convert_SDFXYLZTSG(szBarCode);
                break;
            case 10154: //经开区职工之家
                lBookID = Convert_JKQZGZJ(szBarCode);
                break;
            case 10155: //湖南信息职业技术学院
                lBookID = Convert_HNXXZYJSXY(szBarCode);
                break;
            case 10156: //西安市图书馆
                lBookID = Convert_XASTSG(szBarCode);
                break;
            case 10157: //青铜峡市图书馆新
                lBookID = Convert_QTXSTSGX(szBarCode);
                break;
            case 10158: //平罗职业中学
                lBookID = Convert_LPZYZX(szBarCode);
                break;
            case 10159: //中共唐山市委党校
                lBookID = Convert_ZGTSSWDX(szBarCode);
                break;
            case 10160: //范县第一中学
                lBookID = Convert_FXDYZX(szBarCode);
                break;
            case 10161: //大连理工
                lBookID = Convert_DLLG(szBarCode);
                break;
            //case 10162: //天津理工大学（测试）
            //    lBookID = Convert_DLLG(szBarCode);
            //    break;
            case 10162: //陕西青年职业技术学院
                lBookID = Convert_SXQNZYJSXY(szBarCode);
                break;
            case 10163: //建始县图书馆
                lBookID = Convert_JSXTSG(szBarCode);
                break;
            case 10164: //同济外语学院
                lBookID = Convert_TJWYXY(szBarCode);
                break;
            case 10165: //江苏沭阳图书馆
                lBookID = Convert_JSSYTSG(szBarCode);
                break;
            case 10166: //七0八研究所图书馆
                lBookID = Convert_QLBYJSTSG(szBarCode);
                break;
            case 10167: //泾县文化和旅游局
                lBookID = Convert_JZWHHLYJ(szBarCode);
                break;
            case 10168: //江苏省司法警官高等职业学校
                lBookID = Convert_JSSSFJGGDZYXX(szBarCode);
                break;
            case 10169: //赤峰市松山区职业技术教育培训中心
                lBookID = Convert_CFSSSQZYJSJYZYZX(szBarCode);
                break;
            case 10170: //重庆市南岸区珊瑚实验小学
                lBookID = Convert_CQSNAQSHSYXX(szBarCode);
                break;
            case 10171: //清远市清城中学富强学校
                lBookID = Convert_QYSQCZXFQXX(szBarCode);
                break;
            case 10172: //无锡市东林中学光电园校区
                lBookID = Convert_WXSDLZXGDYXQ(szBarCode);
                break;
            case 10173: //绍兴技师学院
                lBookID = Convert_SXJSXY(szBarCode);
                //lBookID = Convert_SDDXQDXQ(szBarCode);
                break;
            case 10174: //昆山市南星渎图书馆
                lBookID = Convert_KSSNXDTSG(szBarCode);
                break;
            case 10175: //南京外国语学校
                lBookID = Convert_NJWGYXX(szBarCode);
                break;
            case 10176: //菏泽学院
                lBookID = Convert_HZXY(szBarCode);
                break;
            case 10177: //根河市图书馆
                lBookID = Convert_GHSTSG(szBarCode);
                break;
            case 10178: //大连枫叶职业学院
                lBookID = Convert_DLFYSYXY(szBarCode);
                break;
            case 10179: //深圳市福海中学
                lBookID = Convert_SZSFHZX(szBarCode);
                break;
            case 10180: //中国人民解放军陆军特种作战学院图书馆
                lBookID = Convert_ZGRMJFJLJTZZZXYTSG(szBarCode);
                break;
            case 10181: //滇西应用技术大学
                lBookID = Convert_DXYYJSDX(szBarCode);
                break;
            //case 10182:  //深圳市龙华区图书馆
            //    lBookID = Convert_SZSLHQTSG(szBarCode);
            //    break;
            case 10182: //深圳实验学校明理高中
                lBookID = Convert_SZSYXXMLZX(szBarCode);
                break;
            case 10183: //国防大学政治学院教研保障中心
                lBookID = Convert_GFDXZZXYJYBZZX(szBarCode);
                break;
            case 10184: //重庆电力高等专科学校
                lBookID = Convert_CQDLGDZKXX(szBarCode);
                break;
            case 10185: //安徽灵壁师范学校
                lBookID = Convert_AHLBSFXX(szBarCode);
                break;
            case 10186: //西峡县伏牛西路紫金街道办事处
                lBookID = Convert_SXSFNXLZJJDBSC(szBarCode);
                break;
            case 10187: //云南考古所
                lBookID = Convert_YNKGS(szBarCode);
                break;
            case 10188: //岳阳现代服务职业技术学院
                lBookID = Convert_YYXDFWZYJSXY(szBarCode);
                break;
            //case 10187: //信阳文旅局
            //    lBookID = Convert_XYWLJ(szBarCode);
            //    break;
            case 10189: //西峡县白羽街道办事处
                lBookID = Convert_XSXBYJDBSC(szBarCode);
                break;
            case 10190: //西峡县莲花街道办事处
                lBookID = Convert_XSXLHJDBSC(szBarCode);
                break;
            case 10191: //渭南市临渭区图书馆
                lBookID = Convert_WNSLWQTSG(szBarCode);
                break;
            case 10192: //香港科技大学
                lBookID = Convert_XGKJDX(szBarCode);
                break;
            case 10193: //绵阳市图书馆
                lBookID = Convert_MYSTSG(szBarCode);
                break;
            case 10194: //金陵中学
                lBookID = Convert_JLZX(szBarCode);
                break;
            case 10195: //台州职业技术学院
                lBookID = Convert_TZZYJSXY(szBarCode);
                break;
            case 10196: //昆明市官渡区西冲小学
                lBookID = Convert_KMSGDQXCZX(szBarCode);
                break;
            case 10197: //河海大学
                lBookID = Convert_HHDX(szBarCode);
                break;
            case 10198: //芜湖市城市书房
                lBookID = Convert_WHSCSSF(szBarCode);
                break;
            case 10199: //广东女子职业技术学院
                lBookID = Convert_GZNZZYJSXX(szBarCode);
                break;
            case 10200: //重庆市北碚区图书馆
                lBookID = Convert_ZQSBBQTSG(szBarCode);
                break;
            case 10201: //响水县特殊教育学校
                lBookID = Convert_XSXTSJYXX(szBarCode);
                break;
            case 10202: //厦门市振南中学
                lBookID = Convert_XMSZNZX(szBarCode);
                break;
            case 10203: //浙江中医药大学
                lBookID = Convert_ZJZYYDX(szBarCode);
                break;
            case 10204: //合肥市蜀山区玉镜路小学
                lBookID = Convert_HFSSSQYJLXX(szBarCode);
                break;
            case 10205: //安徽省灵璧师范学校
                lBookID = Convert_AHSLBSFXX(szBarCode);
                break;
            case 10206: //江西乐平火箭军某旅团
                lBookID = Convert_JXLPHJJMLT(szBarCode);
                break;
            case 10207: //重庆市武隆区实验小学
                lBookID = Convert_ZQSWLQSYXX(szBarCode);
                break;
            case 10208: //石家庄瀚林学校
                lBookID = Convert_SJZHLXX(szBarCode);
                break;
            case 10209: //克拉玛依市第十六中学
                lBookID = Convert_KLMYSDSLZX(szBarCode);
                break;
            case 10210: //淮南矿业有限责任公司顾桥煤矿
                lBookID = Convert_HNKYYXZRGSGQMK(szBarCode);
                break;
            case 10211: //长沙县南雅远航实验学校
                lBookID = Convert_CSXNYYHSYXX(szBarCode);
                break;
            case 10212: //四川大巴山干部学院
                lBookID = Convert_SCDBSGBXY(szBarCode);
                break;
            case 10213: //无锡市堰桥初级中学
                lBookID = Convert_WXSYQCJZX(szBarCode);
                break;
            case 10214: //潮州某部队
                lBookID = Convert_CZMBD(szBarCode);
                break;
            case 10215: //沧州市兴业路小学
                lBookID = Convert_CZSXYLXX(szBarCode);
                break;
            case 10216: //怀来县教育体育和科学技术局大数据职业教育培训基地
                lBookID = Convert_HLXJYTYHKXJSJDSJZYJYPXJD(szBarCode);
                break;
            case 10217: //中国人民大学附属小学贵阳共建学校
                lBookID = Convert_ZGRMDXFSXXGYGJXX(szBarCode);
                break;
            case 10218: //无锡市胡埭中心小学
                lBookID = Convert_WXSHDZXXX(szBarCode);
                break;
            case 10219: //安徽省淮北市烈山区望湖路学校
                lBookID = Convert_AHSHBSLSQWHLXX(szBarCode);
                break;
            case 10220: //山东省临沂第四中学
                lBookID = Convert_SDSLYDSZX(szBarCode);
                break;
            case 10221: //深圳市南山区育才教育集团山海学校
                lBookID = Convert_SZSNSQYCJYJTSHXX(szBarCode);
                break;
            case 10222: //昆明市五华区武成小学
                lBookID = Convert_KMSWHQWCXX(szBarCode);
                break;
            case 10223: //西安市雁塔区图书馆
                lBookID = Convert_XASYTQTSG(szBarCode);
                break;
            case 10224: //北京银座供电公司职工书屋
                break;
            case 10225: //石家庄西环见义勇为公园
                lBookID = Convert_SJZXHJYYWGY(szBarCode);
                break;
            case 10226: //桂林航天工业学院
                lBookID = Convert_GLHTGYXY(szBarCode);
                break;
            case 10227: //武汉理工大学襄阳校区
                lBookID = Convert_WHLGDXXYXQ(szBarCode);
                break;
            case 10228: //陕西师范大学
                lBookID = Convert_SXSFDX(szBarCode);
                break;
            case 10229: //大巴山干部学院
                lBookID = Convert_DBSGBXY(szBarCode);
                break;
            case 10230: //新疆可克达拉职业技术学校
                lBookID = Convert_XJKKDLZYJSXX(szBarCode);
                break;
            case 10231: //眉山市市委党校
                lBookID = Convert_MSSSWDX(szBarCode);
                break;
            case 10232: //长沙县教育局湘龙二小
                lBookID = Convert_CSXJYJXLEX(szBarCode);
                break;
            case 10233: //临汾市蒲县一中
                lBookID = Convert_LFSPXYZ(szBarCode);
                break;
            case 10234: //北京市通州区后南仓小学
                lBookID = Convert_BJSTZQHNCXX(szBarCode);
                break;
            case 10235: //九江经济开发区沿浔学校
                lBookID = Convert_JJJJKFQYXXX(szBarCode);
                break;
            case 10236: //天津聋人学校
                lBookID = Convert_TJLRXX(szBarCode);
                break;
            case 10237: //扬州市广陵区教育体局学校
                lBookID = Convert_YZSGLQJYTJXX(szBarCode);
                break;
            case 10238: //深圳市龙华区第三外国语学校
                lBookID = Convert_SZSLHQDSWGYXX(szBarCode);
                break;
            case 10239: //深圳市龙华区教育科学研究院附属中学
                lBookID = Convert_SZSLHQJYKXYJYFSZX(szBarCode);
                break;
            case 10240: //山西省吕梁市方山县第一中学
                lBookID = Convert_SXSLLSFSXDYZX(szBarCode);
                break;
            case 10241: //淮南顾桥矿区（建库）
                break;
            case 10242: //蚌山区黄山学校
                lBookID = Convert_BSQHSXX(szBarCode);
                break;
            case 10243: //龙子湖区红塔幼儿园图书室
                lBookID = Convert_LZHQHTYEYTSS(szBarCode);
                break;
            case 10244: //龙子湖区古杏幼儿园图书室
                lBookID = Convert_LZHQGXYEYTSS(szBarCode);
                break;
            case 10245: //龙子湖区时光印象幼儿园图书室
                lBookID = Convert_LZHQSGYXYEYTSS(szBarCode);
                break;
            case 10246: //龙子湖区湖山樾幼儿园图书室
                lBookID = Convert_LZHQHSYYEYTSS(szBarCode);
                break;
            case 10247: //龙子湖区文教幼儿园龙湖分园图书室
                lBookID = Convert_LZHQWJYEYLHFYTSS(szBarCode);
                break;
            case 10248: //龙子湖区山湖雅苑幼儿园图书室
                lBookID = Convert_LZHQSHYYYEYTSS(szBarCode);
                break;
            case 10249: //济南护理学院
                lBookID = Convert_JNHLXY(szBarCode);
                break;
            case 10250: //泾县青少年活动中心
                lBookID = Convert_JXQSNHDZX(szBarCode);
                break;
            case 10251: //沈阳大学图书馆
                lBookID = Convert_SYDXTSG(szBarCode);
                break;
            case 10252: //乐平火箭某旅
                lBookID = Convert_LPHJML(szBarCode);
                break;
            case 10253: //桂林电子科技大学北海校区图书馆
                lBookID = Convert_GLDZKJDXBHXQTSG(szBarCode);
                break;
            case 10254: //中心湖小学
                lBookID = Convert_ZXHXX(szBarCode);
                break;
            case 10255: //盘锦市图书馆
                lBookID = Convert_PJSTSG(szBarCode);
                break;
            case 10256: //上海市位育中学
                lBookID = Convert_SHSWYZX(szBarCode);
                break;
            case 10257: //河北宣化科技职业学院
                lBookID = Convert_HBXHKJZYXY(szBarCode);
                break;
            case 10258: //株洲市二中枫溪学校
                lBookID = Convert_ZZSEZFXXX(szBarCode);
                break;
            case 10259: //江西省乐安县职业中学
                lBookID = Convert_JXSLAXZYZX(szBarCode);
                break;
            case 10260: //海南省澄迈县委党校
                lBookID = Convert_HNSCMXWDX(szBarCode);
                break;
            case 10261: //北京市十一学校龙樾实验中学
                lBookID = Convert_BJSSYXXLYSYZX(szBarCode);
                break;
            case 10262: //扬州市文峰小学
                lBookID = Convert_YZSWFXX(szBarCode);
                break;
            case 10263: //扬州市李典学校
                lBookID = Convert_YZSLDXX(szBarCode);
                break;
            case 10264: //扬州市汶河小学东校区
                lBookID = Convert_YZSWHXXDXQ(szBarCode);
                break;
            case 10265: //兰州市城关区书房
                lBookID = Convert_LZSCGQSF(szBarCode);
                break;
            case 10266: //云阳县宣传部图书馆
                lBookID = Convert_YYXXCBTSG(szBarCode);
                break;
            case 10267: //浙江同济科技职业学院
                lBookID = Convert_ZJTJKJZYXY(szBarCode);
                break;
            case 10268: //浙江经济职业技术学院
                lBookID = Convert_ZJJJZYJSXY(szBarCode);
                break;
            case 10269: //重庆市南川隆化职业中学
                lBookID = Convert_ZQSNCLHZYZX(szBarCode);
                break;
            case 10270: //荣县梧桐树小学
                lBookID = Convert_RXWTSXX(szBarCode);
                break;
            case 10271: //剑河县中等职业学校
                lBookID = Convert_JHXZDZYXX(szBarCode);
                break;
            case 10272: //山东省昌邑市第三实验小学
                lBookID = Convert_SDSCYSDSSYXX(szBarCode);
                break;
            case 10273: //东北育才沈抚示范学校
                lBookID = Convert_DBYCSFSFXX(szBarCode);
                break;
            case 10274: //恩施咸丰中等职业学校
                lBookID = Convert_ESXFZDZYXX(szBarCode);
                break;
            case 10275: //南阳市第十五小学
                lBookID = Convert_NYSDSWXX(szBarCode);
                break;
            case 10276: //扬州市东花园小学
                lBookID = Convert_YZSDHYXX(szBarCode);
                break;
            case 10277: //丹徒区图书馆
                lBookID = Convert_DTQTSG(szBarCode);
                break;
            case 10278: //眉山党校
                lBookID = Convert_MSDX(szBarCode);
                break;
            case 10279: //临沂卫生学校
                lBookID = Convert_LYWSXX(szBarCode);
                break;
            case 10280: //临沂卫生学校
                lBookID = Convert_JLGSXY(szBarCode);
                break;
            case 10281: //大足档案馆
                lBookID = Convert_DZDAG(szBarCode);
                break;
            case 10282: //青岛西海岸新区市民文化中心图书馆
                lBookID = Convert_QDXHAXQSMWHZXTSG(szBarCode);
                break;
            case 10283: //哈尔滨第二十四中学
                lBookID = Convert_HEBDESSZX(szBarCode);
                break;
            //case 10284: //昆明市西冲小学
            //    lBookID = Convert_KMSXCXX(szBarCode);
            //    break;
            case 10285: //山东建筑大学
                lBookID = Convert_SDJZDX(szBarCode);
                break;
            case 10286: //蒲城县槐院里城市书房
                lBookID = Convert_PCXHYLCSSF(szBarCode);
                break;
            case 65458: //阳谷县图书馆
            case 10287: //阳谷县图书馆
                lBookID = Convert_YGXTSG(szBarCode);
                break;
            case 10288: //黔江区图书馆
                break;
            case 10289: //彭水县图书馆
                break;
            case 10290: //重庆市两江新区图书馆
                break;
            case 10291: //丰都县图书馆
                break;
            case 10292: //西阳县图书馆
                break;
            case 10293: //武隆区图书馆
                break;
            case 10294: //忠县图书馆
                break;
            case 10295: //开州区图书馆
                break;
            case 10296: //奉节县图书馆
                break;
            case 10297: //巫溪县图书馆
                break;
            case 10298: //石柱土家族
                break;
            case 10299: //秀山土家族苗族
                break;
            case 10300: //西安战略支援部队
                lBookID = Convert_XAZLZYBD(szBarCode);
                break;
            case 10301: //宁波市海曙区洞桥镇中心小学
                lBookID = Convert_NBSHSQDQZZXXX(szBarCode);
                break;
            case 10302: //株洲雅礼学校
                lBookID = Convert_ZZYLXX(szBarCode);
                break;
            case 10303: //柳州市思贤中学
                lBookID = Convert_LZSSXZX(szBarCode);
                break;
            case 10304: //四川甘孜州理塘县濯桑片区寄宿制完全中学
                lBookID = Convert_SCGZZLTXZSPQJSZWQZX(szBarCode);
                break;
            case 10305: //陕煤集团张家峁公司图书馆
                lBookID = Convert_SMJTZJMGSTSG(szBarCode);
                break;
            case 10306: //宁夏职业技术学院
                lBookID = Convert_NXZYJSXY(szBarCode);
                break;
            case 10307: //西湖大学
                lBookID = Convert_XHDX(szBarCode);
                break;
            case 10308: //新疆第三师总医院职工智慧图书馆
                lBookID = Convert_XJDSSZYYZGZHTSG(szBarCode);
                break;
            case 10309: //哈尔滨工业大学青岛校区
                lBookID = Convert_HEBGYDXQDXQ(szBarCode);
                break;
            //case 10309: //枣庄市山亭区文旅局
            //    break;
            case 10310: //皮山县职业技术学校
                lBookID = Convert_PSXZYJSXX(szBarCode);
                break;
            case 10311: //湖北赤壁车埠中学
                lBookID = Convert_HBCBCBZX(szBarCode);
                break;
            case 10312: //惠州市惠城区技工学校
                lBookID = Convert_HZSHCQJGXX(szBarCode);
                break;
            case 10313: //长江设计公司职工书屋
                lBookID = Convert_CJSJGSZGSW(szBarCode);
                break;
            case 10314: //台州技师学院
                lBookID = Convert_TZJSXY(szBarCode);
                break;
            case 10315: //确山城市书房
                lBookID = Convert_QSCSSF(szBarCode);
                break;
            case 10316: //武汉光谷为明实验学校
                lBookID = Convert_WHGGWMSYXX(szBarCode);
                break;
            case 10317: //东莞市第一中学
                lBookID = Convert_DGSDYZX(szBarCode);
                break;
            case 10318: //郑州市郑东新区丰盈路初级中学
                lBookID = Convert_ZZSZDXQFYLCJZX(szBarCode);
                break;
            case 10319: //武汉市蔡甸职业教育中心学校
                lBookID = Convert_WHSCDZYJYZXXX(szBarCode);
                break;
            case 10320: //桐城市图书馆文化旅游局书房
                lBookID = Convert_TCSTSGWHLYJSF(szBarCode);
                break;
            case 10321: //山东特殊教育职业学院
                lBookID = Convert_SDTSJYZYXY(szBarCode);
                break;
            case 10322: //民治街道北站社区党群服务中心
                lBookID = Convert_MZJDBZSQDQFWZX(szBarCode);
                break;
            case 10323: //中南财经政法大学法学院
                lBookID = Convert_ZNCJZFDXFXY(szBarCode);
                break;
            case 10324: //阜宁白天鹅图书馆
                lBookID = Convert_FNBTETSG(szBarCode);
                break;
            case 10325: //清华附中文昌学校
                lBookID = Convert_QHFZWCXX(szBarCode);
                break;
            case 10326: //北京武警执勤九支队
                lBookID = Convert_BJWJZQJZD(szBarCode);
                break;
            case 10327: //一体化商务服务中心
                lBookID = Convert_YTHSWFWZX(szBarCode);
                break;
            case 10328: //漳州市长泰区第四实验小学
                lBookID = Convert_ZZSCTQDSSYXX(szBarCode);
                break;
            case 10329: //莆田市涵江区图书馆
                lBookID = Convert_PTSHJQTSG(szBarCode);
                break;
            case 10330: //唐山幼儿师范高等专科学校
                lBookID = Convert_TSYESFGDZKXX(szBarCode);
                break;
            case 10331: //仲恺农业工程学院
                lBookID = Convert_ZKNYGCXY(szBarCode);
                break;
            case 10332: //甘肃机电职业技术学院
                lBookID = Convert_GSJDZYJSXY(szBarCode);
                break;
            case 10333: //中关村第二小学
                lBookID = Convert_ZGCDEXX(szBarCode);
                break;
            case 10334: //蚌埠市图书馆
                lBookID = Convert_BBSTSG(szBarCode);
                break;
            case 10335: //重庆科技大学
                lBookID = Convert_ZQKJDX(szBarCode);
                break;
            case 10336: //黑龙江建筑职业技术学院
                lBookID = Convert_HLJJZZYJSXY(szBarCode);
                break;
            case 10337: //空天信息大学
                lBookID = Convert_KTXXDX(szBarCode);
                break;
            case 10338:// 绵阳市图书馆高新领航分馆
                break;
            case 10339: //湖北工业大学图书馆
                lBookID = Convert_HBGYDXTSG(szBarCode);
                break;
            //case 10340: //八益集团城市书房
            //    lBookID = Convert_BYJTCSSF(szBarCode);
            //    break;
            case 10340:// 焦作工贸职业学院
                lBookID = Convert_JZGMZYXY(szBarCode);
                break;
            case 10341: //四川凉山螺髻山中学
                lBookID = Convert_SCLSLJSZX(szBarCode);
                break;
            case 10342: //重庆财经职业学院
                lBookID = Convert_ZQCJZYXY(szBarCode);
                break;
            case 10343: //蚌山区市民广场书房
                lBookID = Convert_BSQSMGCSF(szBarCode);
                break;
            case 10344: //蚌山区瀚百书房
                lBookID = Convert_BSQHBSF(szBarCode);
                break;
            case 10345: //蚌山区金恒书房
                lBookID = Convert_BSQJHSF(szBarCode);
                break;
            case 10346: //蚌山区南山书苑书房
                lBookID = Convert_BSQNSSYSF(szBarCode);
                break;
            case 10347: //西宁大学
                lBookID = Convert_XNDX(szBarCode);
                break;
            case 10348: //闽南师范大学
                lBookID = Convert_MNSFDX(szBarCode);
                break;
            //case 10339:// 重庆市丰都县图书馆
            //    break;
            case 10349: //天虹和煦幼儿园
                lBookID = Convert_THHXYEY(szBarCode);
                break;
            case 10350: //行知幼儿园
                lBookID = Convert_XZYEY(szBarCode);
                break;
            case 10351: //拂晓国祯幼儿园
                lBookID = Convert_FXGZYEY(szBarCode);
                break;
            case 10352: //南方医科大学
                lBookID = Convert_NFYKDX(szBarCode);
                break;
            case 10353: //宁夏工业学校
                lBookID = Convert_NXGYXX(szBarCode);
                break;
            case 10354: //淮南联合大学
                lBookID = Convert_HNLHDX(szBarCode);
                break;
            case 10355: //鲁迅美术学院大连校区
                lBookID = Convert_LXMSXYDLXQ(szBarCode);
                break;
            case 10356: //南京工程学院
                lBookID = Convert_NJGCXY(szBarCode);
                break;
            case 10357: //广东财经大学
                lBookID = Convert_GDCJDX(szBarCode);
                break;
            case 10358: //盐城市盐都区神州路小学开元路校区
                lBookID = Convert_YCSYDQSZLXXKYLXQ(szBarCode);
                break;
            case 10359: //重庆渝中区图书馆
                lBookID = Convert_ZQYZQTSG(szBarCode);
                break;
            //case 10359: //南山图书馆
            //    break;

            case 10360: //新疆ML部队图书馆
                lBookID = Convert_XJMLBDTSG(szBarCode);
                break;
            case 10361:// 东华山禅寺图书馆
                lBookID = Convert_DHSCSTSG(szBarCode);
                break;
            case 10362: //黑龙江武警总队医院
                lBookID = Convert_HLJWJZDYY(szBarCode);
                break;
            //case 10363: //城固县图书馆
            case 10363: //潮州市潮安区教师发展中心
                lBookID = Convert_CZSCAQJSFZZX(szBarCode);
                break;
            case 10364: //华中师范大学龙岗附属中学狮山书院
                lBookID = Convert_HZSFDXLGFSZXSSSY(szBarCode);
                break;
            case 10365: //河南省安阳市光明中学
                lBookID = Convert_HNSAYSGMZX(szBarCode);
                break;
            case 10366://北京军事博物馆
                lBookID = Convert_BJJSBWG(szBarCode);
                break;
            case 10367://安徽水利水电职业技术学院
                lBookID = Convert_AHSLSDZYJSXY(szBarCode);
                break;
            case 10369://新乡工程学院
                lBookID = Convert_XXGCXY(szBarCode);
                break;
            case 65527: //海口图书馆
                lBookID = Convert_HKTSG(szBarCode);
                break;
        }
        return lBookID;

    }

    public static String EPCToBookID(long lBarCode, int nLibraryCode) {
        String szBookID = "";
        switch (nLibraryCode) {
            case 10046: //前卫路小学百楼分校
                szBookID = Convert_QWLXXBLFX(lBarCode);
                break;
            case 10047: //西安市第一中学
                szBookID = Convert_QWLXXBLFX(lBarCode);
                break;
            case 10048: //合肥第五中学
                szBookID = Convert_HFDYZX(lBarCode);
                break;
            case 10049: //凉山州图书馆
                szBookID = Convert_LSZTSG(lBarCode);
                break;
            case 10050: //信阳市平桥区震雷山街道办事处城市书房
                szBookID = Convert_XYSPQQZLSJDBSCCSSF(lBarCode);
                break;
            case 10051: //兴化中学
                szBookID = Convert_XHZX(lBarCode);
                break;
            case 10052: //深圳外国语学校
                szBookID = Convert_SZWGYXX(lBarCode);
                break;
            case 10053: //深圳实验学校崇文高中
                szBookID = Convert_SZSYXXCWGZ(lBarCode);
                break;
            case 10054: //闽西职业技术学院
                szBookID = Convert_MXZYJSXY(lBarCode);
                break;
            case 10055: //嘉兴市图书馆
                szBookID = Convert_JXSTSG(lBarCode);
                break;
            case 10057: //天府新区信息职业技术学院
                szBookID = Convert_TFXQXXZYJSXY(lBarCode);
                break;
            case 10058: //商洛中级人民法院图书馆
                szBookID = Convert_SLZJRMFYTSG(lBarCode);
                break;
            case 10059: //蚌埠新城实验学校临港分校
                szBookID = Convert_BBXCSYXXLGFX(lBarCode);
                break;
            case 10060: //江苏省太仓中等专业学校
                szBookID = Convert_JSSTCZDZYXX(lBarCode);
                break;
            case 10061: //青岛工程图书馆
                szBookID = Convert_QDGCTSG(lBarCode);
                break;
            case 10062: //龙江外国语学校附属小学
                szBookID = Convert_LJWGYXXFSXX(lBarCode);
                break;
            case 10063: //承德应用技术职业学院
                szBookID = Convert_CDYYJSZYXY(lBarCode);
                break;
            case 10064: //沈阳职业技术学院
                szBookID = Convert_SYZYJSXY(lBarCode);
                break;
            case 10065: //济南天桥区图书馆
                szBookID = Convert_JNTQQTSG(lBarCode);
                break;
            case 10066: //榆林档案馆
                szBookID = Convert_YLDAG(lBarCode);
                break;
            case 10067: //烟台市烟台山医院
                szBookID = Convert_YTSYTSYY(lBarCode);
                break;
            case 10068: //项城市人民检察院
                szBookID = Convert_XCSRMJCY(lBarCode);
                break;
            case 10069: //南通市竹行中学
                szBookID = Convert_NTSZXZX(lBarCode);
                break;
            case 10070: //大连海军舰艇学校
                szBookID = Convert_DLHJJTXX(lBarCode);
                break;
            case 10071: //南华大学
                szBookID = Convert_NHDX(lBarCode);
                break;
            case 10072: //贵州毕节博物馆文物管理智能系统
                szBookID = Convert_BJBWGWWGLZNXT(lBarCode);
                break;
            case 10073: //沈阳体育学院
                szBookID = Convert_SYTYXY(lBarCode);
                break;
            case 10074: //黔南民族医药高专(黔南民族医学高等专科学校)
                szBookID = Convert_QNMZYYGZ(lBarCode);
                break;
            case 10075: //金东区图书馆
                szBookID = Convert_JDQTSG(lBarCode);
                break;
            case 10076: //广德市城市书房
                szBookID = Convert_GDSCSSF(lBarCode);
                break;
            case 10077: //印江县图书馆
                szBookID = Convert_YJXTSG(lBarCode);
                break;
            case 10078: //三亚航空旅游职业学院
                szBookID = Convert_SYHKLYXY(lBarCode);
                break;
            case 10079: //大鹏外国语小学
                szBookID = Convert_DPWGYXX(lBarCode);
                break;
            case 10080: //福建省泉州一中
                szBookID = Convert_FJSQZYZ(lBarCode);
                break;
            case 10081: //淄博技师学院
                szBookID = Convert_ZBJSXY(lBarCode);
                break;
            case 10082: //大连职业技术学院
                szBookID = Convert_DLZYJSXY(lBarCode);
                break;
            case 10083: //中国石油大学
                szBookID = Convert_ZGSYDX(lBarCode);
                break;
            case 10084: //安徽马鞍山学院
                szBookID = Convert_MASXY(lBarCode);
                break;
            case 10085: //保定市竞秀学校
                szBookID = Convert_BDSJXXX(lBarCode);
                break;
            case 10086: //昆山花桥国际商务城花溪小学
                szBookID = Convert_KSHQGJSWCHXXX(lBarCode);
                break;
            case 10087: //深圳市第二高级中学深汕实验学校
                szBookID = Convert_SSSYXX(lBarCode);
                break;
            case 10088: //山东省潍坊新华中学
                szBookID = Convert_SDSWFXHZX(lBarCode);
                break;
            case 10089: //潍坊市奎文区樱桃园小学
                szBookID = Convert_YTYXX(lBarCode);
                break;
            case 10090: //合肥师范附小四小
                szBookID = Convert_HFSFFXSX(lBarCode);
                break;
            case 10091: //福建省长乐师范学校附属小学
                szBookID = Convert_FJSCLSFXXFSXX(lBarCode);
                break;
            case 10092: //深圳市南山区文理实验学校(集团)文理二小
                szBookID = Convert_NSQWLSYXXWLEX(lBarCode);
                break;
            case 10093: //徐州玉潭实验学校
                szBookID = Convert_XZYTSYXX(lBarCode);
                break;
            case 10094: //璧山职教中心
                szBookID = Convert_BSZJZX(lBarCode);
                break;
            case 10095: //深圳市龙华区华育小学
                szBookID = Convert_SZSLHQHYXX(lBarCode);
                break;
            case 10096: //漳州市图书馆
                szBookID = Convert_ZZSTSG(lBarCode);
                break;
            case 10097: //武警湖北省总队训练基地
                szBookID = Convert_WJHBSZDXLJD(lBarCode);
                break;
            case 10098: //广东农工商职业技术学院
                szBookID = Convert_GDNGSZYJSXY(lBarCode);
                break;
            case 10099: //海军指挥学院
                szBookID = Convert_HJZHXY(lBarCode);
                break;
            case 10100: //衡阳幼儿师范
                szBookID = Convert_HYYESF(lBarCode);
                break;
            case 10101: //蚌埠二中禹会实验学校
                szBookID = Convert_BBEZYHSYXX(lBarCode);
                break;
            case 10102: //国家电网项目莱州供电公司职工书屋
                szBookID = Convert_GJDWLZGDGSZGSW(lBarCode);
                break;
            case 10103: //宣城市城市书房
                szBookID = Convert_XCSCSSF(lBarCode);
                break;
            case 10104: //宜宾学院
                szBookID = Convert_YBXY(lBarCode);
                break;
            case 10105: //北京金融法院
                szBookID = Convert_BJJRXY(lBarCode);
                break;
            case 10106: //中科院合肥物质科学研究院附属学校
                szBookID = Convert_ZKYHFWZKXYJYFSXX(lBarCode);
                break;
            case 10107: //克拉玛依职业技术学院
                szBookID = Convert_KLMYZYJSXY(lBarCode);
                break;
            case 10108: //重庆市万盛区图书馆
                szBookID = Convert_CQSWSQTSG(lBarCode);
                break;
            case 10109: //广州应元颐和实验学校
                szBookID = Convert_GZYYYHSYXX(lBarCode);
                break;
            case 10110: //龙川中学
                szBookID = Convert_LCZX(lBarCode);
                break;
            case 10111: //新疆师范大学附属中学
                szBookID = Convert_XJSFDXFSZX(lBarCode);
                break;
            case 10112: //遂宁市图书馆
                break;
            case 10113: //南雅中学
                szBookID = Convert_NYZX(lBarCode);
                break;
            case 10114: //石油化工管理干部学院
                szBookID = Convert_SYHGGLGBXY(lBarCode);
                break;
            case 10115: //信阳市羊山新区两个更好城市书房
                szBookID = Convert_XYSYSXQEGGHCSSF(lBarCode);
                break;
            case 10116: //海军工程大学教员之家
                szBookID = Convert_HJGCDXJYZJ(lBarCode);
                break;
            case 10117: //广西国际商务学院
                szBookID = Convert_GXGJSWXY(lBarCode);
                break;
            case 10118: //东南大学
                szBookID = Convert_DNDX(lBarCode);
                break;
            case 10119: //深圳市南山区第二外国语学校
                szBookID = Convert_SZSNSQDEWYXX(lBarCode);
                break;
            case 10120: //临汾市尧都区滨西小学
                szBookID = Convert_LFSXDQBXXX(lBarCode);
                break;
            case 10121: //合肥师范附小四小南校区
                szBookID = Convert_HFSFFXSXNXQ(lBarCode);
                break;
            case 10122: //合肥市龙川路中学
                szBookID = Convert_HFSLCLZX(lBarCode);
                break;
            case 10123: //天马集团图书馆
                szBookID = Convert_TMJTTSG(lBarCode);
                break;
            case 10124: //新乡市中级人民法院
                szBookID = Convert_XXSZJRMFY(lBarCode);
                break;
            case 10125: //兴安职业技术学院
                szBookID = Convert_XAZYJSXY(lBarCode);
                break;
            case 10126: //定远化工学校
                szBookID = Convert_DYHGXX(lBarCode);
                break;
            case 10127: //淮南师范大学
                szBookID = Convert_HNSFDX(lBarCode);
                break;
            //case 10127: //重庆第二师范学院
            //    szBookID = Convert_CQDESFXY(lBarCode);
            //    break;
            case 10128: //徐州工程学院图书馆
                szBookID = Convert_XZGCXYTSG(lBarCode);
                break;
            case 10129: //中共铜仁市委党校
                szBookID = Convert_ZGTRSWDX(lBarCode);
                break;
            case 10130: //湖南抽水蓄能电站档案馆
                szBookID = Convert_HNCSXNDZDAG(lBarCode);
                break;
            case 10131: //山东财经大学燕山学院
                szBookID = Convert_SDCJDXYSXY(lBarCode);
                break;
            case 10132: //湖北省电力公司
                szBookID = Convert_HBSDLGS(lBarCode);
                break;
            case 10133: //江宁区政府总工会城市书房
                szBookID = Convert_JNQZFZGHCSSF(lBarCode);
                break;
            case 10134: //重庆三峡学院
                szBookID = Convert_CQSXXY(lBarCode);
                break;
            case 10135: //无锡城市职业技术学院
                szBookID = Convert_WXCSZYJSXY(lBarCode);
                break;
            case 10136: //深圳市坪山区科悦实验小学
                szBookID = Convert_SZSPSQKYSYXX(lBarCode);
                break;
            case 10137: //福州闽江学院
                szBookID = Convert_FZMJXY(lBarCode);
                break;
            case 10138: //深圳市龙岗区人民医
                szBookID = Convert_SZSLGQRMYY(lBarCode);
                break;
            case 10139: //南阳城市书房
                szBookID = Convert_NYCSSF(lBarCode);
                break;
            case 10140: //长岭县图书馆
                szBookID = Convert_CLXTSH(lBarCode);
                break;
            case 10141: //三峡大学
                szBookID = Convert_SXDX(lBarCode);
                break;
            case 10142: //南京师范大学附属龙岗学校
                szBookID = Convert_NJSFDXFSLGXX(lBarCode);
                break;
            case 10143: //江西环境工程职业学院
                szBookID = Convert_JXHJGCZYXY(lBarCode);
                break;
            case 10144: //中共隆昌市委党校
                szBookID = Convert_ZGLCSWDX(lBarCode);
                break;
            case 10145: //菏泽市万福实验学校初中部
                szBookID = Convert_HZSWFSYXXCZD(lBarCode);
                break;
            case 10146: //菏泽市万福实验学校高中部
                szBookID = Convert_HZSWFSYXXGZD(lBarCode);
                break;
            case 10147: //安徽省国家电网电力培训中心
                szBookID = Convert_AHSGJDWDLPXZX(lBarCode);
                break;
            case 10148: //广州美术学院
                szBookID = Convert_GZMSXY(lBarCode);
                break;
            case 10149: //广州美术学院
                szBookID = Convert_CZYRSFGDZKXX(lBarCode);
                break;
            case 10150: //莆田市荔城区教师进修学校
                szBookID = Convert_PTSLCQJSJXXX(lBarCode);
                break;
            case 10151: //色达佛学院五明图书馆
                szBookID = Convert_SDFXY(lBarCode);
                break;
            case 10152: //中信养老项目
                szBookID = Convert_XXYLXM(lBarCode);
                break;
            case 10153: //色达佛学院莲洲图书馆
                szBookID = Convert_SDFXYLZTSG(lBarCode);
                break;
            case 10154: //经开区职工之家
                szBookID = Convert_JKQZGZJ(lBarCode);
                break;
            case 10155: //湖南信息职业技术学院
                szBookID = Convert_HNXXZYJSXY(lBarCode);
                break;
            case 10156: //西安市图书馆
                szBookID = Convert_XASTSG(lBarCode);
                break;
            case 10157: //青铜峡市图书馆新
                szBookID = Convert_QTXSTSGX(lBarCode);
                break;
            case 10158: //平罗职业中学
                szBookID = Convert_LPZYZX(lBarCode);
                break;
            case 10159: //中共唐山市委党校
                szBookID = Convert_ZGTSSWDX(lBarCode);
                break;
            case 10160: //范县第一中学
                szBookID = Convert_FXDYZX(lBarCode);
                break;
            case 10161: //大连理工
                szBookID = Convert_DLLG(lBarCode);
                break;
            //case 10162: //天津理工大学（测试）
            //    szBookID = Convert_DLLG(lBarCode);
            //    break;
            case 10162: //陕西青年职业技术学院
                szBookID = Convert_SXQNZYJSXY(lBarCode);
                break;
            case 10163: //建始县图书馆
                szBookID = Convert_JSXTSG(lBarCode);
                break;
            case 10164: //同济外语学院
                szBookID = Convert_TJWYXY(lBarCode);
                break;
            case 10165: //江苏沭阳图书馆
                szBookID = Convert_JSSYTSG(lBarCode);
                break;
            case 10166: //七0八研究所图书馆
                szBookID = Convert_QLBYJSTSG(lBarCode);
                break;
            case 10167: //泾县文化和旅游局
                szBookID = Convert_JZWHHLYJ(lBarCode);
                break;
            case 10168: //江苏省司法警官高等职业学校
                szBookID = Convert_JSSSFJGGDZYXX(lBarCode);
                break;
            case 10169: //赤峰市松山区职业技术教育培训中心
                szBookID = Convert_CFSSSQZYJSJYZYZX(lBarCode);
                break;
            case 10170: //重庆市南岸区珊瑚实验小学
                szBookID = Convert_CQSNAQSHSYXX(lBarCode);
                break;
            case 10171: //清远市清城中学富强学校
                szBookID = Convert_QYSQCZXFQXX(lBarCode);
                break;
            case 10172: //无锡市东林中学光电园校区
                szBookID = Convert_WXSDLZXGDYXQ(lBarCode);
                break;
            case 10173: //绍兴技师学院
                szBookID = Convert_SXJSXY(lBarCode);
                //szBookID = Convert_SDDXQDXQ(lBarCode);
                break;
            case 10174: //昆山市南星渎图书馆
                szBookID = Convert_KSSNXDTSG(lBarCode);
                break;
            case 10175: //南京外国语学校
                szBookID = Convert_NJWGYXX(lBarCode);
                break;
            case 10176: //菏泽学院
                szBookID = Convert_HZXY(lBarCode);
                break;
            case 10177: //根河市图书馆
                szBookID = Convert_GHSTSG(lBarCode);
                break;
            case 10178: //大连枫叶职业学院
                szBookID = Convert_DLFYSYXY(lBarCode);
                break;
            case 10179: //深圳市福海中学
                szBookID = Convert_SZSFHZX(lBarCode);
                break;
            case 10180: //中国人民解放军陆军特种作战学院图书馆
                szBookID = Convert_ZGRMJFJLJTZZZXYTSG(lBarCode);
                break;
            case 10181: //滇西应用技术大学
                szBookID = Convert_DXYYJSDX(lBarCode);
                break;
            case 10182:  //深圳市龙华区图书馆
                szBookID = Convert_SZSLHQTSG(lBarCode);
                break;
            //case 10182: //深圳实验学校明理高中
            //    szBookID = Convert_SZSYXXMLZX(lBarCode);
            //    break;
            case 10183: //国防大学政治学院教研保障中心
                szBookID = Convert_GFDXZZXYJYBZZX(lBarCode);
                break;
            case 10184: //重庆电力高等专科学校
                szBookID = Convert_CQDLGDZKXX(lBarCode);
                break;
            case 10185: //安徽灵壁师范学校
                szBookID = Convert_AHLBSFXX(lBarCode);
                break;
            case 10186: //西峡县伏牛西路紫金街道办事处
                szBookID = Convert_SXSFNXLZJJDBSC(lBarCode);
                break;
            case 10187: //云南考古所
                szBookID = Convert_YNKGS(lBarCode);
                break;
            case 10188: //岳阳现代服务职业技术学院
                szBookID = Convert_YYXDFWZYJSXY(lBarCode);
                break;
            //case 10187: //信阳文旅局
            //    szBookID = Convert_XYWLJ(lBarCode);
            //    break;
            case 10189: //西峡县白羽街道办事处
                szBookID = Convert_XSXBYJDBSC(lBarCode);
                break;
            case 10190: //西峡县莲花街道办事处
                szBookID = Convert_XSXLHJDBSC(lBarCode);
                break;
            case 10191: //渭南市临渭区图书馆
                szBookID = Convert_WNSLWQTSG(lBarCode);
                break;
            case 10192: //香港科技大学
                szBookID = Convert_XGKJDX(lBarCode);
                break;
            case 10193: //绵阳市图书馆
                szBookID = Convert_MYSTSG(lBarCode);
                break;
            case 10194: //金陵中学
                szBookID = Convert_JLZX(lBarCode);
                break;
            case 10195: //台州职业技术学院
                szBookID = Convert_TZZYJSXY(lBarCode);
                break;
            case 10196: //昆明市官渡区西冲小学
                szBookID = Convert_KMSGDQXCZX(lBarCode);
                break;
            case 10197: //河海大学
                szBookID = Convert_HHDX(lBarCode);
                break;
            case 10198: //芜湖市城市书房
                szBookID = Convert_WHSCSSF(lBarCode);
                break;
            case 10199: //广东女子职业技术学院
                szBookID = Convert_GZNZZYJSXX(lBarCode);
                break;
            case 10200: //重庆市北碚区图书馆
                szBookID = Convert_ZQSBBQTSG(lBarCode);
                break;
            case 10201: //响水县特殊教育学校
                szBookID = Convert_XSXTSJYXX(lBarCode);
                break;
            case 10202: //厦门市振南中学
                szBookID = Convert_XMSZNZX(lBarCode);
                break;
            case 10203: //浙江中医药大学
                szBookID = Convert_ZJZYYDX(lBarCode);
                break;
            case 10204: //合肥市蜀山区玉镜路小学
                szBookID = Convert_HFSSSQYJLXX(lBarCode);
                break;
            case 10205: //安徽省灵璧师范学校
                szBookID = Convert_AHSLBSFXX(lBarCode);
                break;
            case 10206: //江西乐平火箭军某旅团
                szBookID = Convert_JXLPHJJMLT(lBarCode);
                break;
            case 10207: //重庆市武隆区实验小学
                szBookID = Convert_ZQSWLQSYXX(lBarCode);
                break;
            case 10208: //石家庄瀚林学校
                szBookID = Convert_SJZHLXX(lBarCode);
                break;
            case 10209: //克拉玛依市第十六中学
                szBookID = Convert_KLMYSDSLZX(lBarCode);
                break;
            case 10210: //淮南矿业有限责任公司顾桥煤矿
                szBookID = Convert_HNKYYXZRGSGQMK(lBarCode);
                break;
            case 10211: //长沙县南雅远航实验学校
                szBookID = Convert_CSXNYYHSYXX(lBarCode);
                break;
            case 10212: //四川大巴山干部学院
                szBookID = Convert_SCDBSGBXY(lBarCode);
                break;
            case 10213: //无锡市堰桥初级中学
                szBookID = Convert_WXSYQCJZX(lBarCode);
                break;
            case 10214: //潮州某部队
                szBookID = Convert_CZMBD(lBarCode);
                break;
            case 10215: //沧州市兴业路小学
                szBookID = Convert_CZSXYLXX(lBarCode);
                break;
            case 10216: //怀来县教育体育和科学技术局大数据职业教育培训基地
                szBookID = Convert_HLXJYTYHKXJSJDSJZYJYPXJD(lBarCode);
                break;
            case 10217: //中国人民大学附属小学贵阳共建学校
                szBookID = Convert_ZGRMDXFSXXGYGJXX(lBarCode);
                break;
            case 10218: //无锡市胡埭中心小学
                szBookID = Convert_WXSHDZXXX(lBarCode);
                break;
            case 10219: //安徽省淮北市烈山区望湖路学校
                szBookID = Convert_AHSHBSLSQWHLXX(lBarCode);
                break;
            case 10220: //山东省临沂第四中学
                szBookID = Convert_SDSLYDSZX(lBarCode);
                break;
            case 10221: //深圳市南山区育才教育集团山海学校
                szBookID = Convert_SZSNSQYCJYJTSHXX(lBarCode);
                break;
            case 10222: //昆明市五华区武成小学
                szBookID = Convert_KMSWHQWCXX(lBarCode);
                break;
            case 10223: //西安市雁塔区图书馆
                szBookID = Convert_XASYTQTSG(lBarCode);
                break;
            case 10224: //北京银座供电公司职工书屋
                break;
            case 10225: //石家庄西环见义勇为公园
                szBookID = Convert_SJZXHJYYWGY(lBarCode);
                break;
            case 10226: //桂林航天工业学院
                szBookID = Convert_GLHTGYXY(lBarCode);
                break;
            case 10227: //武汉理工大学襄阳校区
                szBookID = Convert_WHLGDXXYXQ(lBarCode);
                break;
            case 10228: //陕西师范大学
                szBookID = Convert_SXSFDX(lBarCode);
                break;
            case 10229: //大巴山干部学院
                szBookID = Convert_DBSGBXY(lBarCode);
                break;
            case 10230: //新疆可克达拉职业技术学校
                szBookID = Convert_XJKKDLZYJSXX(lBarCode);
                break;
            case 10231: //眉山市市委党校
                szBookID = Convert_MSSSWDX(lBarCode);
                break;
            case 10232: //长沙县教育局湘龙二小
                szBookID = Convert_CSXJYJXLEX(lBarCode);
                break;
            case 10233: //临汾市蒲县一中
                szBookID = Convert_LFSPXYZ(lBarCode);
                break;
            case 10234: //北京市通州区后南仓小学
                szBookID = Convert_BJSTZQHNCXX(lBarCode);
                break;
            case 10235: //九江经济开发区沿浔学校
                szBookID = Convert_JJJJKFQYXXX(lBarCode);
                break;
            case 10236: //天津聋人学校
                szBookID = Convert_TJLRXX(lBarCode);
                break;
            case 10237: //扬州市广陵区教育体局学校
                szBookID = Convert_YZSGLQJYTJXX(lBarCode);
                break;
            case 10238: //深圳市龙华区第三外国语学校
                szBookID = Convert_SZSLHQDSWGYXX(lBarCode);
                break;
            case 10239: //深圳市龙华区教育科学研究院附属中学
                szBookID = Convert_SZSLHQJYKXYJYFSZX(lBarCode);
                break;
            case 10240: //山西省吕梁市方山县第一中学
                szBookID = Convert_SXSLLSFSXDYZX(lBarCode);
                break;
            case 10241: //淮南顾桥矿区（建库）
                break;
            case 10242: //蚌山区黄山学校
                szBookID = Convert_BSQHSXX(lBarCode);
                break;
            case 10243: //龙子湖区红塔幼儿园图书室
                szBookID = Convert_LZHQHTYEYTSS(lBarCode);
                break;
            case 10244: //龙子湖区古杏幼儿园图书室
                szBookID = Convert_LZHQGXYEYTSS(lBarCode);
                break;
            case 10245: //龙子湖区时光印象幼儿园图书室
                szBookID = Convert_LZHQSGYXYEYTSS(lBarCode);
                break;
            case 10246: //龙子湖区湖山樾幼儿园图书室
                szBookID = Convert_LZHQHSYYEYTSS(lBarCode);
                break;
            case 10247: //龙子湖区文教幼儿园龙湖分园图书室
                szBookID = Convert_LZHQWJYEYLHFYTSS(lBarCode);
                break;
            case 10248: //龙子湖区山湖雅苑幼儿园图书室
                szBookID = Convert_LZHQSHYYYEYTSS(lBarCode);
                break;
            case 10249: //济南护理学院
                szBookID = Convert_JNHLXY(lBarCode);
                break;
            case 10250: //泾县青少年活动中心
                szBookID = Convert_JXQSNHDZX(lBarCode);
                break;
            case 10251: //沈阳大学图书馆
                szBookID = Convert_SYDXTSG(lBarCode);
                break;
            case 10252: //乐平火箭某旅
                szBookID = Convert_LPHJML(lBarCode);
                break;
            case 10253: //桂林电子科技大学北海校区图书馆
                szBookID = Convert_GLDZKJDXBHXQTSG(lBarCode);
                break;
            case 10254: //中心湖小学
                szBookID = Convert_ZXHXX(lBarCode);
                break;
            case 10255: //盘锦市图书馆
                szBookID = Convert_PJSTSG(lBarCode);
                break;
            case 10256: //上海市位育中学
                szBookID = Convert_SHSWYZX(lBarCode);
                break;
            case 10257: //河北宣化科技职业学院
                szBookID = Convert_HBXHKJZYXY(lBarCode);
                break;
            case 10258: //株洲市二中枫溪学校
                szBookID = Convert_ZZSEZFXXX(lBarCode);
                break;
            case 10259: //江西省乐安县职业中学
                szBookID = Convert_JXSLAXZYZX(lBarCode);
                break;
            case 10260: //海南省澄迈县委党校
                szBookID = Convert_HNSCMXWDX(lBarCode);
                break;
            case 10261: //北京市十一学校龙樾实验中学
                szBookID = Convert_BJSSYXXLYSYZX(lBarCode);
                break;
            case 10262: //扬州市文峰小学
                szBookID = Convert_YZSWFXX(lBarCode);
                break;
            case 10263: //扬州市李典学校
                szBookID = Convert_YZSLDXX(lBarCode);
                break;
            case 10264: //扬州市汶河小学东校区
                szBookID = Convert_YZSWHXXDXQ(lBarCode);
                break;
            case 10265: //兰州市城关区书房
                szBookID = Convert_LZSCGQSF(lBarCode);
                break;
            case 10266: //云阳县宣传部图书馆
                szBookID = Convert_YYXXCBTSG(lBarCode);
                break;
            case 10267: //浙江同济科技职业学院
                szBookID = Convert_ZJTJKJZYXY(lBarCode);
                break;
            case 10268: //浙江经济职业技术学院
                szBookID = Convert_ZJJJZYJSXY(lBarCode);
                break;
            case 10269: //重庆市南川隆化职业中学
                szBookID = Convert_ZQSNCLHZYZX(lBarCode);
                break;
            case 10270: //荣县梧桐树小学
                szBookID = Convert_RXWTSXX(lBarCode);
                break;
            case 10271: //剑河县中等职业学校
                szBookID = Convert_JHXZDZYXX(lBarCode);
                break;
            case 10272: //山东省昌邑市第三实验小学
                szBookID = Convert_SDSCYSDSSYXX(lBarCode);
                break;
            case 10273: //东北育才沈抚示范学校
                szBookID = Convert_DBYCSFSFXX(lBarCode);
                break;
            case 10274: //恩施咸丰中等职业学校
                szBookID = Convert_ESXFZDZYXX(lBarCode);
                break;
            case 10275: //南阳市第十五小学
                szBookID = Convert_NYSDSWXX(lBarCode);
                break;
            case 10276: //扬州市东花园小学
                szBookID = Convert_YZSDHYXX(lBarCode);
                break;
            case 10277: //丹徒区图书馆
                szBookID = Convert_DTQTSG(lBarCode);
                break;
            case 10278: //眉山党校
                szBookID = Convert_MSDX(lBarCode);
                break;
            case 10279: //临沂卫生学校
                szBookID = Convert_LYWSXX(lBarCode);
                break;
            case 10280: //临沂卫生学校
                szBookID = Convert_JLGSXY(lBarCode);
                break;
            case 10281: //大足档案馆
                szBookID = Convert_DZDAG(lBarCode);
                break;
            case 10282: //青岛西海岸新区市民文化中心图书馆
                szBookID = Convert_QDXHAXQSMWHZXTSG(lBarCode);
                break;
            case 10283: //哈尔滨第二十四中学
                szBookID = Convert_HEBDESSZX(lBarCode);
                break;
            //case 10284: //昆明市西冲小学
            //    szBookID = Convert_KMSXCXX(lBarCode);
            //    break;
            case 10285: //山东建筑大学
                szBookID = Convert_SDJZDX(lBarCode);
                break;
            case 10286: //蒲城县槐院里城市书房
                szBookID = Convert_PCXHYLCSSF(lBarCode);
                break;
            case 65458: //阳谷县图书馆
            case 10287: //阳谷县图书馆
                szBookID = Convert_YGXTSG(lBarCode);
                break;
            case 10288: //黔江区图书馆
                break;
            case 10289: //彭水县图书馆
                break;
            case 10290: //重庆市两江新区图书馆
                break;
            case 10291: //丰都县图书馆
                break;
            case 10292: //西阳县图书馆
                break;
            case 10293: //武隆区图书馆
                break;
            case 10294: //忠县图书馆
                break;
            case 10295: //开州区图书馆
                break;
            case 10296: //奉节县图书馆
                break;
            case 10297: //巫溪县图书馆
                break;
            case 10298: //石柱土家族
                break;
            case 10299: //秀山土家族苗族
                break;
            case 10300: //西安战略支援部队
                szBookID = Convert_XAZLZYBD(lBarCode);
                break;
            case 10301: //宁波市海曙区洞桥镇中心小学
                szBookID = Convert_NBSHSQDQZZXXX(lBarCode);
                break;
            case 10302: //株洲雅礼学校
                szBookID = Convert_ZZYLXX(lBarCode);
                break;
            case 10303: //柳州市思贤中学
                szBookID = Convert_LZSSXZX(lBarCode);
                break;
            case 10304: //四川甘孜州理塘县濯桑片区寄宿制完全中学
                szBookID = Convert_SCGZZLTXZSPQJSZWQZX(lBarCode);
                break;
            case 10305: //陕煤集团张家峁公司图书馆
                szBookID = Convert_SMJTZJMGSTSG(lBarCode);
                break;
            case 10306: //宁夏职业技术学院
                szBookID = Convert_NXZYJSXY(lBarCode);
                break;
            case 10307: //西湖大学
                szBookID = Convert_XHDX(lBarCode);
                break;
            case 10308: //新疆第三师总医院职工智慧图书馆
                szBookID = Convert_XJDSSZYYZGZHTSG(lBarCode);
                break;
            case 10309: //哈尔滨工业大学青岛校区
                szBookID = Convert_HEBGYDXQDXQ(lBarCode);
                break;
            //case 10309: //枣庄市山亭区文旅局
            //    break;
            case 10310: //皮山县职业技术学校
                szBookID = Convert_PSXZYJSXX(lBarCode);
                break;
            case 10311: //湖北赤壁车埠中学
                szBookID = Convert_HBCBCBZX(lBarCode);
                break;
            case 10312: //惠州市惠城区技工学校
                szBookID = Convert_HZSHCQJGXX(lBarCode);
                break;
            case 10313: //长江设计公司职工书屋
                szBookID = Convert_CJSJGSZGSW(lBarCode);
                break;
            case 10314: //台州技师学院
                szBookID = Convert_TZJSXY(lBarCode);
                break;
            case 10315: //确山城市书房
                szBookID = Convert_QSCSSF(lBarCode);
                break;
            case 10316: //武汉光谷为明实验学校
                szBookID = Convert_WHGGWMSYXX(lBarCode);
                break;
            case 10317: //东莞市第一中学
                szBookID = Convert_DGSDYZX(lBarCode);
                break;
            case 10318: //郑州市郑东新区丰盈路初级中学
                szBookID = Convert_ZZSZDXQFYLCJZX(lBarCode);
                break;
            case 10319: //武汉市蔡甸职业教育中心学校
                szBookID = Convert_WHSCDZYJYZXXX(lBarCode);
                break;
            case 10320: //桐城市图书馆文化旅游局书房
                szBookID = Convert_TCSTSGWHLYJSF(lBarCode);
                break;
            case 10321: //山东特殊教育职业学院
                szBookID = Convert_SDTSJYZYXY(lBarCode);
                break;
            case 10322: //民治街道北站社区党群服务中心
                szBookID = Convert_MZJDBZSQDQFWZX(lBarCode);
                break;
            case 10323: //中南财经政法大学法学院
                szBookID = Convert_ZNCJZFDXFXY(lBarCode);
                break;
            case 10324: //阜宁白天鹅图书馆
                szBookID = Convert_FNBTETSG(lBarCode);
                break;
            case 10325: //清华附中文昌学校
                szBookID = Convert_QHFZWCXX(lBarCode);
                break;
            case 10326: //北京武警执勤九支队
                szBookID = Convert_BJWJZQJZD(lBarCode);
                break;
            case 10327: //一体化商务服务中心
                szBookID = Convert_YTHSWFWZX(lBarCode);
                break;
            case 10328: //漳州市长泰区第四实验小学
                szBookID = Convert_ZZSCTQDSSYXX(lBarCode);
                break;
            case 10329: //莆田市涵江区图书馆
                szBookID = Convert_PTSHJQTSG(lBarCode);
                break;
            case 10330: //唐山幼儿师范高等专科学校
                szBookID = Convert_TSYESFGDZKXX(lBarCode);
                break;
            case 10331: //仲恺农业工程学院
                szBookID = Convert_ZKNYGCXY(lBarCode);
                break;
            case 10332: //甘肃机电职业技术学院
                szBookID = Convert_GSJDZYJSXY(lBarCode);
                break;
            case 10333: //中关村第二小学
                szBookID = Convert_ZGCDEXX(lBarCode);
                break;
            case 10334: //蚌埠市图书馆
                szBookID = Convert_BBSTSG(lBarCode);
                break;
            case 10335: //重庆科技大学
                szBookID = Convert_ZQKJDX(lBarCode);
                break;
            case 10336: //黑龙江建筑职业技术学院
                szBookID = Convert_HLJJZZYJSXY(lBarCode);
                break;
            case 10337: //空天信息大学
                szBookID = Convert_KTXXDX(lBarCode);
                break;
            case 10338:// 绵阳市图书馆高新领航分馆
                break;
            case 10339: //湖北工业大学图书馆
                szBookID = Convert_HBGYDXTSG(lBarCode);
                break;
            //case 10340: //八益集团城市书房
            //    szBookID = Convert_BYJTCSSF(lBarCode);
            //    break;
            case 10340:// 焦作工贸职业学院
                szBookID = Convert_JZGMZYXY(lBarCode);
                break;
            case 10341: //四川凉山螺髻山中学
                szBookID = Convert_SCLSLJSZX(lBarCode);
                break;
            case 10342: //重庆财经职业学院
                szBookID = Convert_ZQCJZYXY(lBarCode);
                break;
            case 10343: //蚌山区市民广场书房
                szBookID = Convert_BSQSMGCSF(lBarCode);
                break;
            case 10344: //蚌山区瀚百书房
                szBookID = Convert_BSQHBSF(lBarCode);
                break;
            case 10345: //蚌山区金恒书房
                szBookID = Convert_BSQJHSF(lBarCode);
                break;
            case 10346: //蚌山区南山书苑书房
                szBookID = Convert_BSQNSSYSF(lBarCode);
                break;
            case 10347: //西宁大学
                szBookID = Convert_XNDX(lBarCode);
                break;
            case 10348: //闽南师范大学
                szBookID = Convert_MNSFDX(lBarCode);
                break;
            //case 10339:// 重庆市丰都县图书馆
            //    break;
            case 10349: //天虹和煦幼儿园
                szBookID = Convert_THHXYEY(lBarCode);
                break;
            case 10350: //行知幼儿园
                szBookID = Convert_XZYEY(lBarCode);
                break;
            case 10351: //拂晓国祯幼儿园
                szBookID = Convert_FXGZYEY(lBarCode);
                break;
            case 10352: //南方医科大学
                szBookID = Convert_NFYKDX(lBarCode);
                break;
            case 10353: //宁夏工业学校
                szBookID = Convert_NXGYXX(lBarCode);
                break;
            case 10354: //淮南联合大学
                szBookID = Convert_HNLHDX(lBarCode);
                break;
            case 10355: //鲁迅美术学院大连校区
                szBookID = Convert_LXMSXYDLXQ(lBarCode);
                break;
            case 10356: //南京工程学院
                szBookID = Convert_NJGCXY(lBarCode);
                break;
            case 10357: //广东财经大学
                szBookID = Convert_GDCJDX(lBarCode);
                break;
            case 10358: //盐城市盐都区神州路小学开元路校区
                szBookID = Convert_YCSYDQSZLXXKYLXQ(lBarCode);
                break;
            case 10359: //重庆渝中区图书馆
                szBookID = Convert_ZQYZQTSG(lBarCode);
                break;

            //case 10359: //南山图书馆
            //    break;
            case 10360: //新疆ML部队图书馆
                szBookID = Convert_XJMLBDTSG(lBarCode);
                break;
            case 10361:// 东华山禅寺图书馆
                szBookID = Convert_DHSCSTSG(lBarCode);
                break;
            case 10362: //黑龙江武警总队医院
                szBookID = Convert_HLJWJZDYY(lBarCode);
                break;
            //case 10363: //城固县图书馆
            case 10363: //潮州市潮安区教师发展中心
                szBookID = Convert_CZSCAQJSFZZX(lBarCode);
                break;
            case 10364: //华中师范大学龙岗附属中学狮山书院
                szBookID = Convert_HZSFDXLGFSZXSSSY(lBarCode);
                break;
            case 10365: //河南省安阳市光明中学
                szBookID = Convert_HNSAYSGMZX(lBarCode);
                break;
            case 10366://北京军事博物馆
                szBookID = Convert_BJJSBWG(lBarCode);
                break;
            case 10367://安徽水利水电职业技术学院
                szBookID = Convert_AHSLSDZYJSXY(lBarCode);
                break;
            case 10369://新乡工程学院
                szBookID = Convert_XXGCXY(lBarCode);
                break;
            case 65527: //海口图书馆
                szBookID = Convert_HKTSG(lBarCode);
                break;

        }
        return szBookID;
    }

    //  #region ====前卫路小学百楼分校====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_QWLXXBLFX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QWLXXBLFX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====西安市第一中学====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XASDYZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XASDYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====合肥第五中学====
    // <summary>
    // 6位数字
    // 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HFDYZX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HFDYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====凉山州图书馆====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_LSZTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 6 && szBarCode.length() <= 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LSZTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====信阳市平桥区震雷山街道办事处城市书房====
    // <summary>
    // ZLS+7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XYSPQQZLSJDBSCCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 10 && szBarCode.startsWith("ZLS")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(3));
            } else if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XYSPQQZLSJDBSCCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "ZLS" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0) == '2') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====兴化中学====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XHZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'B'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XHZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳外国语学校====
    // <summary>
    // 8位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SZWGYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZWGYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳实验学校崇文高中====
    // <summary>
    // 8位数字
    // 7位数字
    // ML1234567   ZY1234567
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SZSYXXCWGZ(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 7 && szBarCode.length() <= 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && szBarCode.startsWith("ML")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }
            if (szBarCode.length() == 9 && szBarCode.startsWith("ZY")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(2));
            }
            if (szBarCode.length() == 9 && szBarCode.startsWith("CW")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(2));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSYXXCWGZ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "ML" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return "ZY" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '4') {
                return "CW" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====闽西职业技术学院====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_MXZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MXZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====嘉兴市图书馆====
    // <summary>
    // 8位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_JXSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JXSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====天府新区信息职业技术学院====
    // <summary>
    // 
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_TFXQXXZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 6 && szBarCode.length() <= 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TFXQXXZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====商洛中级人民法院图书馆====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SLZJRMFYTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SLZJRMFYTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====蚌埠新城实验学校临港分校====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BBXCSYXXLGFX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BBXCSYXXLGFX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====江苏省太仓中等专业学校====
    // <summary>
    // 字母B开头后面跟7位数字，一共8位。例如B0205283
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_JSSTCZDZYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'B'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JSSTCZDZYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "B" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====青岛工程图书馆====
    // <summary>
    // 14位纯数字,固定前4位，6004（弃用）
    // 和8位纯数字（弃用）
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_QDGCTSG(String szBarCode) {
        long lBookID = 0;
        try {
            //if (szBarCode.length() == 14 && szBarCode.substring(0, 4) == "6004"
            //    && ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong("1" + szBarCode.substring(4));
            //}
            //else if (szBarCode.length() == 8
            //    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong("2" + szBarCode);
            //}

            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QDGCTSG(long lBarCode) {
        String szBookID = "";
        try {
            //if (Long.toString(lBarCode).charAt(0) == '1')
            //{
            //    return "6004" + Long.toString(lBarCode).substring(1);
            //}
            //else if (Long.toString(lBarCode).charAt(0) == '2')
            //{
            //    return Long.toString(lBarCode).substring(1);
            //}
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====龙江外国语学校附属小学====
    // <summary>
    // 105016S000001 -105016S999999
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_LJWGYXXFSXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 13 && szBarCode.startsWith("105016S")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(7), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(7));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LJWGYXXFSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "105016S" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====承德应用技术职业学院(10063)====
    // <summary>
    // 9位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_CDYYJSZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CDYYJSZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====沈阳职业技术学院(10064)====
    // <summary>
    // 1~10位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SYZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (!szBarCode.isEmpty() && szBarCode.length() <= 10
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SYZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====济南天桥区图书馆(10065)====
    // <summary>
    // TQ000199646
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_JNTQQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 11 && szBarCode.startsWith("TQ")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            } else if (szBarCode.length() == 13 && szBarCode.startsWith("tqnj")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(4));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JNTQQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "TQ" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0) == '2') {
                return "tqnj" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====榆林档案馆(10066)====
    // <summary>
    // 
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_YLDAG(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 10)
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YLDAG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 烟台市烟台山医院 (10067)====
    // <summary>
    // 7位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_YTSYTSYY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YTSYTSYY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 项城市人民检察院 (10068)====
    // <summary>
    // 7位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XCSRMJCY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XCSRMJCY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 南通市竹行中学 (10069)====
    // <summary>
    // 7位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_NTSZXZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'B'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NTSZXZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "B" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 大连海军舰艇学校 (10070)====
    // <summary>
    // 12位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_DLHJJTXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 12 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DLHJJTXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 南华大学 (10071)====
    // <summary>
    // 7位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_NHDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NHDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 贵州毕节博物馆文物管理智能系统 (10072)====
    // <summary>
    // 5位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BJBWGWWGLZNXT(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 5 && szBarCode.length() <= 6 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJBWGWWGLZNXT(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 沈阳体育学院 (10073)====
    // <summary>
    // 8-9位数纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SYTYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 8 && szBarCode.length() <= 9 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SYTYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 黔南民族医药高专 (10074)====
    // <summary>
    // 7位数纯数字
    // 2位字母 + 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_QNMZYYGZ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QNMZYYGZ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 金东区图书馆 (10075)====
    // <summary>
    // JHJD+8位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_JDQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 12 && szBarCode.startsWith("JHJD")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            } else if (ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber)) {
                List<String> szFL = new ArrayList<String>() {{
                    add("YD");
                    add("CZ");
                    add("FCZ");
                    add("JD");
                    add("LP");
                    add("TY");
                    add("XSDT");
                    add("LXZ");
                    add("CSZ");
                    add("XS");
                }};
                String text = "";//条码前缀
                String szPrefix = "3";//转换后的前缀
                int len = 0;
                if (Character.isLetter(szBarCode.charAt(3)) && !Character.isLetter(szBarCode.charAt(4))) {
                    text = szBarCode.substring(0, 4);
                    len = 4;
                    szPrefix = szPrefix + DLSXZL(text, szFL);
                } else if (Character.isLetter(szBarCode.charAt(2)) && !Character.isLetter(szBarCode.charAt(3))) {
                    text = szBarCode.substring(0, 3);
                    len = 3;
                    szPrefix = szPrefix + DLSXZL(text, szFL);
                } else if (Character.isLetter(szBarCode.charAt(1)) && !Character.isLetter(szBarCode.charAt(2))) {
                    text = szBarCode.substring(0, 2);
                    len = 2;
                    szPrefix = szPrefix + DLSXZL(text, szFL);
                }

                if (!szPrefix.equals("399")) {
                    lBookID = Long.parseLong(szPrefix + szBarCode.substring(len));
                }
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JDQTSG(long lBarCode) {
        String szBookID = "";
        try {
            String szTemp = Long.toString(lBarCode);

            if (szTemp.charAt(0) == '1') {
                return "JHJD" + Long.toString(lBarCode).substring(1);
            } else if (szTemp.charAt(0) == '3') {
                String FL = szTemp.substring(1, 2);
                List<String> szFL = new ArrayList<String>() {
                    {
                        add("YD");
                        add("CZ");
                        add("FCZ");
                        add("JD");
                        add("LP");
                        add("TY");
                        add("XSDT");
                        add("LXZ");
                        add("CSZ");
                        add("XS");
                    }
                };
                int i = Convert.ToInt16(FL);
                szBookID = szFL.get(i) + szTemp.substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 广德市城市书房 (10076)====
    // <summary>
    // 8位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_GDSCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GDSCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 印江县图书馆 (10077)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_YJXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YJXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 三亚航空旅游学院 (10078)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SYHKLYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SYHKLYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 大鹏外国语小学 (10079)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_DPWGYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DPWGYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 福建省泉州一中 (10080)====
    // <summary>
    // 9位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_FJSQZYZ(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FJSQZYZ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 淄博技师学院 (10081)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_ZBJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZBJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 大连职业技术学院 (10082)====
    // <summary>
    // 1个英文+7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_DLZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 6) && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt16(szBarCode.toUpperCase().charAt(0)) + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DLZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Convert.ToChar(Convert.ToUInt16(Long.toString(lBarCode).substring(1, 2))) + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 中国石油大学 (10083)====
    // <summary>
    // 8位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_ZGSYDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGSYDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 安徽马鞍山学院 (10084)====
    // <summary>
    // 8位数字。
    // C+7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_MASXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'C'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MASXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "C" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 保定市竞秀学校 (10085)====
    // <summary>
    // 7位阿拉伯数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BDSJXXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BDSJXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 昆山花桥国际商务城花溪小学 (10086)====
    // <summary>
    // 6位阿拉伯数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_KSHQGJSWCHXXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KSHQGJSWCHXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 海口图书馆 (65527)====
    // <summary>
    // HK+7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HKTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9 && szBarCode.startsWith("HK")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HKTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "HK" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 深圳市第二高级中学深汕实验学校 (10087)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SSSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SSSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 山东省潍坊新华中学 (10088)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SDSWFXHZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDSWFXHZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 潍坊市奎文区樱桃园小学 (10089)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_YTYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YTYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 合肥师范附小四小 (10090)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HFSFFXSX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HFSFFXSX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 福建省长乐师范学校附属小学 (10091)====
    // <summary>
    // 7位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_FJSCLSFXXFSXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FJSCLSFXXFSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 深圳市南山区文理实验学校(集团)文理二小 (10092)====
    // <summary>
    // 6位数字。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_NSQWLSYXXWLEX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NSQWLSYXXWLEX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 徐州玉潭实验学校 (10093)====
    // <summary>
    // 7位数字。
    // 8位，前3位字母，后5位数字
    // Z + 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XZYTSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    Character.isLetter(szBarCode.charAt(1)) && Character.isLetter(szBarCode.charAt(2))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1)) + Convert.ToInt32(szBarCode.charAt(2))
                        + szBarCode.substring(3));
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && szBarCode.charAt(0) == 'Z'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + Convert.ToInt32(szBarCode.charAt(0))
                        + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XZYTSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(5, 2)))
                        + Long.toString(lBarCode).substring(7);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 璧山职教中心 (10094)====
    // <summary>
    // 14位数字，022701+6位数字 如：02270114253678。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BSZJZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 14 && szBarCode.startsWith("022701")
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(6));
            } else if (szBarCode.length() == 14 && szBarCode.startsWith("0227")
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSZJZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "022701" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "0227" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 深圳市龙华区华育小学 (10095)====
    // <summary>
    // 6位数
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_SZSLHQHYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSLHQHYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 漳州市图书馆 (10096)====
    // <summary>
    // 7位纯数字、12位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_ZZSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 12)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZZSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 武警湖北省总队训练基地 (10097)====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_WJHBSZDXLJD(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WJHBSZDXLJD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 广东农工商职业技术学院 (10098)====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_GDNGSZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GDNGSZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 南京海军指挥学院 (10099)====
    // <summary>
    // 12位纯数字
    // 8位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HJZHXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 12 || szBarCode.length() == 8)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HJZHXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 衡阳幼儿师范 (10100)====
    // <summary>
    // 两字母+7位数字
    // Y005162
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HYYESF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt16(szBarCode.charAt(0))
                        + Convert.ToInt16(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            } else if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt16(szBarCode.charAt(0))
                        + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HYYESF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 蚌埠二中禹会实验学校 (10101)====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BBEZYHSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BBEZYHSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 国家电网项目莱州供电公司职工书屋 (10102)====
    // <summary>
    // ZGSW+6位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_GJDWLZGDGSZGSW(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 10 && szBarCode.startsWith("ZGSW")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GJDWLZGDGSZGSW(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "ZGSW" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 宣城市城市书房 (10103)====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XCSCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XCSCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 宜宾学院 (10104)====
    // <summary>
    // 第一种是Y+8位数字，
    // 第二种是YB+7位数字，
    // 第三种是纯数字（纯数字就是馆藏号，自然增加的，有6位和7位的8位，主要是7位的。
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_YBXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7 || szBarCode.length() == 8)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 9 && szBarCode.charAt(0) == 'Y'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            } else if (szBarCode.length() == 9 && szBarCode.startsWith("YB")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YBXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "Y" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return "YB" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 北京金融法院(10105)====
    // <summary>
    //
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_BJJRXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 5 || szBarCode.length() == 6 || szBarCode.length() == 7 || szBarCode.length() == 8)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJJRXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 中科院合肥物质科学研究院附属学校(10106)====
    // <summary>
    //
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_ZKYHFWZKXYJYFSXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZKYHFWZKXYJYFSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 克拉玛依职业技术学院(10107)====
    // <summary>
    // T+7位数字 
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_KLMYZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'T'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KLMYZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "T" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 重庆市万盛区图书馆(10108)====
    // <summary>
    //0168 0000 0000 01，14位数字，前4位0168不变
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_CQSWSQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 14 && szBarCode.startsWith("0168")
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CQSWSQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "0168" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 广州应元颐和实验学校(10109)====
    // <summary>
    //7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_GZYYYHSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GZYYYHSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 龙川中学(10110)====
    // <summary>
    //7位数字
    // B + 7位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_LCZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'B'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LCZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ==== 新疆师范大学附属中学(10111)====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_XJSFDXFSZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XJSFDXFSZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //遂宁市图书馆(10112)

    //  #region ====南雅中学(10113)====
    // <summary>
    // 6位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_NYZX(String szBookID) {
        long lBookID = 0;
        try {
            if (szBookID.length() == 6
                    && ZHENGZBDS.IsValidString(szBookID, ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + szBookID);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NYZX(long lBarCode) {
        String szBookID = "";
        try {
            String szTemp = Long.toString(lBarCode);
            if (szTemp.charAt(0)=='1') {
                szBookID = szTemp.substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====石油化工管理干部学院(10114)====
    // <summary>
    // 1位字母＋6位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SYHGGLGBXY(String szBookID) {
        long lBookID = 0;
        try {
            szBookID = szBookID.toUpperCase();
            if (szBookID.length() == 7 && Character.isLetter(szBookID.charAt(0))
                    && ZHENGZBDS.IsValidString(szBookID.substring(1), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt16(szBookID.charAt(0)) + szBookID.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SYHGGLGBXY(long lBarCode) {
        String szBookID = "";
        try {
            String szTemp = Long.toString(lBarCode);
            if (szTemp.charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt16(szTemp.substring(1, 2))) + szTemp.substring(3);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====信阳市羊山新区两个更好城市书房(10115)====
    // <summary>
    // YS+6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XYSYSXQEGGHCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && szBarCode.startsWith("YS")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XYSYSXQEGGHCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "YS" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====海军工程大学教员之家(10116)====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_HJGCDXJYZJ(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HJGCDXJYZJ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====广西国际商务学院(10117)====
    // <summary>
    // 9位纯数字，如：610016306
    // 11位前后1位字母中间九位数，如：A100031715B
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_GXGJSWXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 11 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(10))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1, 9), ZHENGZBDS.ZZValidNumber) ) {
                szBarCode = szBarCode.toUpperCase();
                return Long.parseLong("1"
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0)) - 65)
                        + szBarCode.substring(1, 9)
                        + Convert.ToInt16(szBarCode.charAt(10))
                );
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GXGJSWXY(long lBarCode) {
        String szBookID = "";
        try {
            String szBarCode = Long.toString(lBarCode);
            if (szBarCode.charAt(0) == '1' && szBarCode.length() == 10) {
                return szBarCode.substring(1);
            } else if (szBarCode.charAt(0) == '1' && szBarCode.length() == 14) {
                return Convert.ToChar(Convert.ToInt16(szBarCode.substring(1, 2)) + 65) + szBarCode.substring(3, 9)
                        + Convert.ToChar(Convert.ToInt16(szBarCode.substring(12)));
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====东南大学(10118)====
    // <summary>
    // SEUWX加7位数字或者 SEU加7位数字 或 6   7    8    9位纯数字
    // 如：SEUWX 0024766
    // SEU 209 8336
    // 8位数字+ X
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_DNDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 12 && szBarCode.startsWith("SEUWX")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(5), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(5));
            } else if (szBarCode.length() == 10 && szBarCode.startsWith("SEU")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(3));
            } else if (szBarCode.length() >= 6 && szBarCode.length() <= 9 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode);
            } else if (szBarCode.length() == 9 &&
                    Objects.equals(szBarCode.substring(8, 1), "X") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(0, 8), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(0, 8));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DNDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "SEUWX" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "SEU" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '4') {
                return Long.toString(lBarCode).substring(1) + "X";
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳市南山区第二外国语学校(10119)====
    // <summary>
    // 6位阿拉伯数字
    // 7位阿拉伯数字
    // 11位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSNSQDEWYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            } else if (szBarCode.length() == 11 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSNSQDEWYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====临汾市尧都区滨西小学(10120)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_LFSXDQBXXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LFSXDQBXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====合肥师范附小四小南校区(10121)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HFSFFXSXNXQ(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HFSFFXSXNXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====合肥市龙川路中学(10122)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HFSLCLZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HFSLCLZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====天马集团图书馆(10123)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_TMJTTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TMJTTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====新乡市中级人民法院(10124)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XXSZJRMFY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XXSZJRMFY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====兴安职业技术学院(10125)====
    // <summary>
    // TS+7位纯数字
    // TM+6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XAZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9 && szBarCode.substring(0, 2).toUpperCase().equals("TS") &&

                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }
            if (szBarCode.length() == 8 && szBarCode.substring(0, 2).toUpperCase().equals("TM") &&

                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XAZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "TS" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "TM" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====定远化工学校(10126)====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_DYHGXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&

                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DYHGXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====淮南师范大学(10127)====
    // <summary>
    // 11位纯数字
    // 10位纯数字
    // 9位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HNSFDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 9 && szBarCode.length() <= 11 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNSFDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====重庆第二师范学院(10127)====
    // <summary>
    // 字母B+7位数字
    // 字母B+8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CQDESFXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 8 && szBarCode.length() <= 9 && szBarCode.substring(0, 1).toUpperCase().equals("B") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CQDESFXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====徐州工程学院图书馆（10128）====
    // <summary>
    // 8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XZGCXYTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XZGCXYTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====中共铜仁市委党校（10129）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_ZGTRSWDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGTRSWDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====湖南抽水蓄能电站档案馆（10130）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HNCSXNDZDAG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 6 && szBarCode.length() <= 12
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNCSXNDZDAG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====山东财经大学燕山学院（10131）====
    // <summary>
    // 7位数字
    // 8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SDCJDXYSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 7 && szBarCode.length() <= 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDCJDXYSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====湖北省电力公司（10132）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HBSDLGS(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HBSDLGS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====江宁区政府总工会城市书房（10133）====
    // <summary>
    // 9位数字
    // 10位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JNQZFZGHCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 9 && szBarCode.length() <= 10 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JNQZFZGHCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====重庆三峡学院（10134）====
    // <summary>
    // 长度9位：SB+7位数字、
    // 长度10位：SB+8位数字、
    // 长度9位：CSB+6位数字
    // 长度10位：CSB+7位数字、
    // 长度8位：SX+6位数字、WX+6位数字、WG+6位数字、SY+6位数字、
    //          CJ+6位数字、MS+6位数字、JS+6位数字、DX+6位数字、
    //          HJ+6位数字、TY+6位数字、MK+6位数字、JX+6位数字、
    //          TM+6位数字、SW+6位数字、GG+6位数字、CM+6位数字、
    //          GS+6位数字、JS+6位数字、JX+6位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CQSXXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1"

                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0)))
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(1)))
                        + szBarCode.substring(2));
            }
            if (szBarCode.length() == 10 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2"
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0)))
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(1)))
                        + szBarCode.substring(2));
            }
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1)) && Character.isLetter(szBarCode.charAt(2))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3"
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0)))
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(1)))
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(2)))
                        + szBarCode.substring(3));
            }
            if (szBarCode.length() == 10 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1)) && Character.isLetter(szBarCode.charAt(2))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                String type = "";
                switch (szBarCode.substring(0, 3)) {
                    case "CSB":
                        type = "0";
                        break;
                    default:
                        return 0;
                }
                return Long.parseLong("4" + type
                        + szBarCode.substring(3));
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("5"
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0)))
                        + String.format("%02d", Convert.ToInt16(szBarCode.charAt(1)))
                        + szBarCode.substring(2));
            }
            if ((szBarCode.length() == 7 ||
                    szBarCode.length() == 8 ||
                    szBarCode.length() == 9 ||
                    szBarCode.length() == 10) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("6" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CQSXXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            if (Long.toString(lBarCode).charAt(0) == '3') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(5, 2)))
                        + Long.toString(lBarCode).substring(7);
            }
            if (Long.toString(lBarCode).charAt(0) == '4') {
                String type = "";
                switch (Long.toString(lBarCode).substring(1, 1)) {
                    case "0":
                        type = "CSB";
                        break;
                }
                return type + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).charAt(0) == '5') {
                return Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            if (Long.toString(lBarCode).charAt(0) == '6') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====无锡城市职业技术学院（10135）====
    // <summary>
    // 9位数字
    // WXCY+9位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_WXCSZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 13 && szBarCode.startsWith("WXCY") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WXCSZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "WXCY" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳市坪山区科悦实验小学（10136）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSPSQKYSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSPSQKYSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====福州闽江学院（10137）====
    // <summary>
    // 10位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_FZMJXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 10 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FZMJXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳市龙岗区人民医院（10138）====
    // <summary>
    // 6位阿拉伯数字、7位阿拉伯数字、8位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSLGQRMYY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 6 && szBarCode.length() <= 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSLGQRMYY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====南阳城市书房（10139）====
    // <summary>
    // Z+8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_NYCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9 &&
                    szBarCode.charAt(0) == 'Z' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("10" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NYCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).substring(0, 2).equals("10")) {
                return "Z" + Long.toString(lBarCode).substring(2);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====长岭县图书馆（10140）====
    // <summary>
    // 暂无
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CLXTSH(String szBarCode) {
        long lBookID = 0;
        try {
            return 1;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CLXTSH(long lBarCode) {
        String szBookID = "";
        try {
            return Long.toString(lBarCode);

        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====三峡大学（10141）====
    // <summary>
    // A+7位数字
    // E+7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SXDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    szBarCode.charAt(0) == 'A' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                return Long.parseLong("10" + szBarCode.substring(1));
            } else if (szBarCode.length() == 8 &&
                    szBarCode.charAt(0) == 'E' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                return Long.parseLong("11" + szBarCode.substring(1));
            } else if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt16(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).startsWith("10")) {
                return "A" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).startsWith("11")) {
                return "E" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return Convert.ToChar(Convert.ToInt16(TrimUtils.trimstart(Long.toString(lBarCode).substring(1, 2), "0"))) + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====南京师范大学附属龙岗学校（10142）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_NJSFDXFSLGXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NJSFDXFSLGXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====江西环境工程职业学院（10143）====
    // <summary>
    // 6位数字
    // 5位数字
    // 4位数字
    // 3位数字
    // B+5位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JXHJGCZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 3 && szBarCode.length() <= 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 6 &&
                    szBarCode.charAt(0) == 'B' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JXHJGCZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====中共隆昌市委党校（10144）====
    // <summary>
    // 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_ZGLCSWDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGLCSWDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).substring(0, 1).equals("1")) {
                return Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====菏泽市万福实验学校初中部（10145）====
    // <summary>
    // C+7位数字 例如C0000001
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HZSWFSYXXCZD(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    szBarCode.charAt(0) == 'C' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HZSWFSYXXCZD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return "C" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====菏泽市万福实验学校高中部（10146）====
    // <summary>
    // G+7位数字 例如G0000001
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HZSWFSYXXGZD(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    szBarCode.charAt(0) == 'G' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HZSWFSYXXGZD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return "G" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====安徽省国家电网电力培训中心（10147）====
    // <summary>
    // zgsw + 六位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_AHSGJDWDLPXZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 10 &&
                    szBarCode.substring(0, 4).equalsIgnoreCase("ZGSW") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_AHSGJDWDLPXZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return "ZGSW" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====广州美术学院（10148）====
    // <summary>
    // 1位字母+6位数字，如A123456；
    // 1位字母+7位数字，如A1234567
    // 2位字母+5位数字，如ZE12345
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_GZMSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() >= 7 && szBarCode.length() <= 8 &&
                    Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0))) + szBarCode.substring(1));
            }
            if (szBarCode.length() == 7 &&
                    Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + String.format("%02d", Convert.ToInt16(szBarCode.charAt(0))) + String.format("%02d", Convert.ToInt16(szBarCode.charAt(1))) + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GZMSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Convert.ToChar(Convert.ToInt16(TrimUtils.trimstart(Long.toString(lBarCode).substring(1, 2),"0"))) + Long.toString(lBarCode).substring(3);
            }
            if (Long.toString(lBarCode).charAt(0) == '2') {
                return Convert.ToChar(Convert.ToInt16(TrimUtils.trimstart(Long.toString(lBarCode).substring(1, 2),"0"))) +
                        Convert.ToChar(Convert.ToInt16(TrimUtils.trimstart(Long.toString(lBarCode).substring(3, 2),"0"))) + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====崇左幼儿师范高等专科学校（10149）====
    // <summary>
    // 6位纯数字和9位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CZYRSFGDZKXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CZYRSFGDZKXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====莆田市荔城区教师进修学校（10150）====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_PTSLCQJSJXXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_PTSLCQJSJXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====色达佛学院五明图书馆（10151）====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SDFXYWMTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDFXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====中信养老项目（10152）====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XXYLXM(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XXYLXM(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====色达佛学院莲洲图书馆（10153）====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SDFXYLZTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDFXYLZTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====经开区职工之家（10154）====
    // <summary>
    // 7位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JKQZGZJ(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JKQZGZJ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====湖南信息职业技术学院（10155）====
    // <summary>
    // 7位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HNXXZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNXXZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====西安市图书馆（10156）====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XASTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XASTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====青铜峡市图书馆新（10157）====
    // <summary>
    // 1. 一位英文+七位数字
    // 2. 两位英文+七位数字
    // </summary>
    // <param name="szBarCode"></param>
    // <returns></returns>
    private static long Convert_QTXSTSGX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            } else if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + Convert.ToInt32(szBarCode.charAt(1)) + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QTXSTSGX(long lBarCode) {
        String szBookID = "";
        try {
            String szTemp = Long.toString(lBarCode);
            if (szTemp.charAt(0)=='1' && szTemp.length() == 10) {
                szBookID = Convert.ToChar(Convert.ToInt32(szTemp.substring(1, 2))) + szTemp.substring(3);
            } else if (szTemp.charAt(0) == '2' && szTemp.length() == 12) {
                szBookID = Convert.ToChar(Convert.ToInt32(szTemp.substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(szTemp.substring(3, 2)))
                        + szTemp.substring(5);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====平罗职业中学（10158）====
    // <summary>
    // 7位纯数字
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_LPZYZX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LPZYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====中共唐山市委党校（10159）====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_ZGTSSWDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGTSSWDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====范县第一中学（10160）====
    // <summary>
    // 6位纯数字
    // 7位纯数字
    // B + 7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_FXDYZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            }
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'B' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FXDYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='3') {
                return "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====大连理工（10161）====
    // <summary>
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_DLLG(String szBarCode) {
        long lBookID = 0;
        try {


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DLLG(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====陕西青年职业技术学院（10162）====
    // <summary>
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SXQNZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXQNZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====建始县图书馆（10163）====
    // <summary>
    // 6位数
    // 7位数
    // 8位数
    // 021JS + 6位数
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JSXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            }
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode);
            }
            if (szBarCode.length() == 11 && szBarCode.startsWith("021JS") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(5), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(5));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JSXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='3') {
                return Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='4') {
                return "021JS" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====同济外语学院（10164）====
    // <summary>
    // 2字母加6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_TJWYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt16(szBarCode.toUpperCase().charAt(0))
                        + Convert.ToInt16(szBarCode.toUpperCase().charAt(1)) + szBarCode.substring(2));
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TJWYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====江苏沭阳图书馆（10165）====
    // <summary>
    // 纯数字9位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JSSYTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + szBarCode);
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JSSYTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ====七0八研究所图书馆（10166）====
    // <summary>
    // 2字母加5位纯数字
    // 1字母加6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_QLBYJSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt16(szBarCode.toUpperCase().charAt(0))
                        + Convert.ToInt16(szBarCode.toUpperCase().charAt(1)) + szBarCode.substring(2));
            }
            if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("2" + Convert.ToInt16(szBarCode.toUpperCase().charAt(0))
                        + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QLBYJSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====泾县文化和旅游局（10167）====
    // <summary>
    // 8位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JZWHHLYJ(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JZWHHLYJ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====江苏省司法警官高等职业学校（10168）====
    // <summary>
    // B+7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JSSSFJGGDZYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'B' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JSSSFJGGDZYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "B" + Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====赤峰市松山区职业技术教育培训中心（10169）====
    // <summary>
    // 6位、7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CFSSSQZYJSJYZYZX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CFSSSQZYJSJYZYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====重庆市南岸区珊瑚实验小学（10170）====
    // <summary>
    // 6位、7位阿拉伯数字
    // SX123456,8位，前两位是字母，后6位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CQSNAQSHSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 8 && szBarCode.substring(0, 2).equals("SX") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CQSNAQSHSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "SX" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====清远市清城中学富强学校（10171）====
    // <summary>
    // 6位、7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_QYSQCZXFQXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QYSQCZXFQXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====无锡市东林中学光电园校区（10172）====
    // <summary>
    // 6位、7位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_WXSDLZXGDYXQ(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WXSDLZXGDYXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====绍兴技师学院（10173）====
    // <summary>
    // 8位、13位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SXJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 13) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }


            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====山东大学青岛校区（10173）高校模型1041标签格式(第三方注册)====
    // <summary>
    //7位纯数字
    //8位纯数字
    //CB+8位纯数字
    //CM+8位纯数字
    //EB+8位纯数字
    //EM+8位纯数字
    //JB+8位纯数字
    //RB+8位纯数字
    //RM+8位纯数字
    //LPCB+6位纯数字
    //WCB+8位纯数字
    //C+7位数字+校验位
    //TS+7位
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SDDXQDXQ(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 10
                    && (szBarCode.startsWith("CB") || szBarCode.startsWith("CM")
                    || szBarCode.startsWith("EB") || szBarCode.startsWith("EM")
                    || szBarCode.startsWith("JB")
                    || szBarCode.startsWith("RB") || szBarCode.startsWith("RM"))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            } else if (szBarCode.length() == 10
                    && szBarCode.startsWith("LPCB")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(4));
            } else if (szBarCode.length() == 11
                    && szBarCode.startsWith("WCB")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(3));
            } else if (szBarCode.length() == 9
                    && szBarCode.charAt(0) == 'C'
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1, szBarCode.length() - 2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("5" + szBarCode.substring(1, szBarCode.length() - 2));
            } else if (szBarCode.length() == 9
                    && szBarCode.startsWith("TS")
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2, szBarCode.length() - 2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("6" + szBarCode.substring(2, szBarCode.length() - 2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDDXQDXQ(long lBarCode) {
        String szBookID = "";
        try {
            return Long.toString(lBarCode);
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====昆山市南星渎图书馆（10174）====
    // <summary>
    // 无
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_KSSNXDTSG(String szBarCode) {
        long lBookID = 0;
        try {

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KSSNXDTSG(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====南京外国语学校（10175）====
    // <summary>
    // 6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_NJWGYXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 5 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NJWGYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====菏泽学院（10176）====
    // <summary>
    // 8位纯数字和9位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HZXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HZXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====根河市图书馆（10177）====
    // <summary>
    // 8位纯数字和9位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_GHSTSG(String szBarCode) {
        long lBookID = 0;
        try {

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GHSTSG(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====大连枫叶职业学院（10178）====
    // <summary>
    // 8位纯数字
    // ZS + 6位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_DLFYSYXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 8 && szBarCode.substring(0, 2).equals("ZS") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DLFYSYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "ZS" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳市福海中学（10179）====
    // <summary>
    // 7位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSFHZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSFHZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====中国人民解放军陆军特种作战学院图书馆（10180）====
    // <summary>
    // 6位纯数字
    // 8
    // 12
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_ZGRMJFJLJTZZZXYTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 6 || szBarCode.length() == 8 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGRMJFJLJTZZZXYTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====滇西应用技术大学（10181）====
    // <summary>
    // DXYYJS + 8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_DXYYJSDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 14 && szBarCode.substring(0, 6).equals("DXYYJS") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(6), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(6));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DXYYJSDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "DXYYJS" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳市龙华区图书馆（10182）====
    // <summary>
    // 目前没有做标签注册，随便写了个条码规则
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSLHQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSLHQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====深圳实验学校明理高中（10182）====
    // <summary>
    // 7位，8位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SZSYXXMLZX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(6), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSYXXMLZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====国防大学政治学院教研保障中心（10183）====
    // <summary>
    // 12位纯数字，一个字母加7个数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_GFDXZZXYJYBZZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 12 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GFDXZZXYJYBZZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====重庆电力高等专科学校（10184）====
    // <summary>
    // 6位数字，和7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_CQDLGDZKXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.trim();
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CQDLGDZKXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====安徽灵壁师范学校（10185）====
    // <summary>
    // 7位数字，和8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_AHLBSFXX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_AHLBSFXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====西峡县伏牛西路紫金街道办事处（10186）====
    // <summary>
    // 7位数字，和8位数字
    // 1个字母+8个数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_SXSFNXLZJJDBSC(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXSFNXLZJJDBSC(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====信阳文旅局（10187）====
    // <summary>
    // 
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XYWLJ(String szBarCode) {
        long lBookID = 0;
        try {


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XYWLJ(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====云南考古所（10187）====
    // <summary>
    // YKL+9位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_YNKGS(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 12 && szBarCode.substring(0, 3).equals("YKL") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(3));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YNKGS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "YKL" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====岳阳现代服务职业技术学院（10188）====
    // <summary>
    // 8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_YYXDFWZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YYXDFWZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====西峡县白羽街道办事处（10189）====
    // <summary>
    // 7位，8位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XSXBYJDBSC(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XSXBYJDBSC(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====西峡县莲花街道办事处（10190）====
    // <summary>
    // 7位，8位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XSXLHJDBSC(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XSXLHJDBSC(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

    //  #region ===渭南市临渭区图书馆（10191）====
    // <summary>
    // 
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_WNSLWQTSG(String szBarCode) {
        long lBookID = 0;
        try {


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WNSLWQTSG(long lBarCode) {
        String szBookID = "";
        try {
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===香港科技大学（10192）====
    // <summary>
    // 
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XGKJDX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8 || szBarCode.length() == 14)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber)) {
                return Convert.ToInt64("1" + szBarCode);
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XGKJDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).startsWith("1")) {
                return Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===绵阳市图书馆（10193）====
    // <summary>
    // 现场使用的是高校规则1041
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_MYSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 14 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong(szBarCode);
            } else if (szBarCode.length() == 8 && szBarCode.charAt(0) == 'C' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            } else if (szBarCode.length() == 12 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong(szBarCode);
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MYSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).length() == 14 || Long.toString(lBarCode).length() == 12) {
                szBookID = Long.toString(lBarCode);
            }
            if (Long.toString(lBarCode).length() == 8 && Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "C" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===金陵中学（10194）====
    // <summary>
    // Z00 + 6位数字
    // Z10 + 6位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_JLZX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 9 && szBarCode.startsWith("Z00") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(3));
            } else if (szBarCode.length() == 9 && szBarCode.startsWith("Z10") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(3));
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JLZX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).length() == 7 && Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "Z00" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).length() == 7 && Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "Z10" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===台州职业技术学院（10195）====
    // <summary>
    // 7位数流水，Y+6位数流水，R+6位数流水
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_TZZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'Y' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            } else if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'R' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(1));
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TZZYJSXY(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).length() == 8 && Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).length() == 7 && Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "Y" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).length() == 7 && Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = "R" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===昆明市官渡区西冲小学（10196）====
    // <summary>
    // 7位，8位阿拉伯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_KMSGDQXCZX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KMSGDQXCZX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===河海大学（10197）====
    // <summary>
    //  8位数字
    //  W+7位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_HHDX(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && szBarCode.substring(0, 1).toUpperCase().equals("W") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HHDX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "W" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===芜湖市城市书房（10198）====
    // <summary>
    // 3位大写字母（JHB）+7位数字，例如：JHB0011023
    // 
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_WHSCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 10 && szBarCode.startsWith("JHB") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(3));
            } else if (szBarCode.length() == 10 && szBarCode.startsWith("WHM") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(3));
            } else if (szBarCode.length() == 10 && szBarCode.startsWith("JKH") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(3));
            } else if (szBarCode.length() == 10 && szBarCode.startsWith("JKG") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(3));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WHSCSSF(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "JHB" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "WHM" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = "JKH" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0)=='4') {
                szBookID = "JKG" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===广东女子职业技术学院（10199）====
    // <summary>
    // 8位数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_GZNZZYJSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GZNZZYJSXX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆市北碚区图书馆（10200）====
    // <summary>
    // 条码规则14位数字，0109开头
    // </summary>
    private static long Convert_ZQSBBQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 14 && szBarCode.startsWith("0109") &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQSBBQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "0109" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===响水县特殊教育学校（10201）====
    // <summary>
    // 阿拉伯数字6位/7位/8位
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XSXTSJYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XSXTSJYXX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===厦门市振南中学（10202）====
    // <summary>
    // 阿拉伯数字6位/7位/8位
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_XMSZNZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XMSZNZX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===浙江中医药大学（10203）====
    // <summary>
    // 两位字母加6位纯数字
    // 一个字母加6位数字
    // 两位字母加7位纯数字
    // </summary>
    // <param name="szBookID"></param>
    // <returns></returns>
    private static long Convert_ZJZYYDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            } else if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0))
                        + szBarCode.substring(1));
            } else if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("3" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZJZYYDX(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            } else if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            } else if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===合肥市蜀山区玉镜路小学（10204）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HFSSSQYJLXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HFSSSQYJLXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===安徽省灵璧师范学校（10205）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_AHSLBSFXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_AHSLBSFXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===江西乐平火箭军某旅团（10206）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_JXLPHJJMLT(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JXLPHJJMLT(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆市武隆区实验小学（10207）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZQSWLQSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQSWLQSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===石家庄瀚林学校（10208）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // HL+9位纯数字
    // </summary>
    private static long Convert_SJZHLXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 11 && szBarCode.startsWith("HL") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SJZHLXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "HL" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===克拉玛依市第十六中学（10209）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_KLMYSDSLZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KLMYSDSLZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===淮南矿业有限责任公司顾桥煤矿（10210）====
    // <summary>
    // 6/7/8/10位阿拉伯数字
    // </summary>
    private static long Convert_HNKYYXZRGSGQMK(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6 || szBarCode.length() == 10) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNKYYXZRGSGQMK(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===长沙县南雅远航实验学校（10211）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CSXNYYHSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CSXNYYHSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===四川大巴山干部学院（10212）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SCDBSGBXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SCDBSGBXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===无锡市堰桥初级中学（10213）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_WXSYQCJZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WXSYQCJZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===潮州某部队（10214）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CZMBD(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CZMBD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===沧州市兴业路小学（10215）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CZSXYLXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CZSXYLXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===怀来县教育体育和科学技术局大数据职业教育培训基地（10216）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HLXJYTYHKXJSJDSJZYJYPXJD(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HLXJYTYHKXJSJDSJZYJYPXJD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===中国人民大学附属小学贵阳共建学校（10217）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZGRMDXFSXXGYGJXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGRMDXFSXXGYGJXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===无锡市胡埭中心小学（10218）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_WXSHDZXXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WXSHDZXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===安徽省淮北市烈山区望湖路学校（10219）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_AHSHBSLSQWHLXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_AHSHBSLSQWHLXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===山东省临沂第四中学（10220）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SDSLYDSZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDSLYDSZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===深圳市南山区育才教育集团山海学校（10221）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SZSNSQYCJYJTSHXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6 || szBarCode.length() == 11) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSNSQYCJYJTSHXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===昆明市五华区武成小学（10222）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_KMSWHQWCXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KMSWHQWCXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===西安市雁塔区图书馆（10223）====
    // <summary>
    // 暂无
    // </summary>
    private static long Convert_XASYTQTSG(String szBarCode) {
        long lBookID = 0;
        try {

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XASYTQTSG(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===石家庄西环见义勇为公园（10225）====
    // <summary>
    // 5位阿拉伯数字
    // </summary>
    private static long Convert_SJZXHJYYWGY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 5 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SJZXHJYYWGY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===桂林航天工业学院（10226）====
    // <summary>
    // 6/7位阿拉伯数字
    // </summary>
    private static long Convert_GLHTGYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GLHTGYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===武汉理工大学襄阳校区（10227）====
    // <summary>
    //条码规则为12位数
    // </summary>
    private static long Convert_WHLGDXXYXQ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 12 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WHLGDXXYXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===陕西师范大学（10228）====
    // <summary>
    // 8位阿拉伯数字
    // P+8位数字
    // </summary>
    private static long Convert_SXSFDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && szBarCode.charAt(0) == 'P' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXSFDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "P" + Long.toString(lBarCode).substring(1);
            }

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===大巴山干部学院（10229）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_DBSGBXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DBSGBXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===新疆可克达拉职业技术学校（10230）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_XJKKDLZYJSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XJKKDLZYJSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===眉山市市委党校（10231）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_MSSSWDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MSSSWDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===长沙县教育局湘龙二小（10232）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CSXJYJXLEX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CSXJYJXLEX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===临汾市蒲县一中（10233）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_LFSPXYZ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LFSPXYZ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===北京市通州区后南仓小学（10234）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_BJSTZQHNCXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJSTZQHNCXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===九江经济开发区沿浔学校（10235）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_JJJJKFQYXXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JJJJKFQYXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===天津聋人学校（10236）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // 大写字母 + 7位数字
    // </summary>
    private static long Convert_TJLRXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TJLRXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===扬州市广陵区教育体局学校（10237）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_YZSGLQJYTJXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YZSGLQJYTJXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===深圳市龙华区第三外国语学校（10238）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SZSLHQDSWGYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSLHQDSWGYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===深圳市龙华区教育科学研究院附属中学（10239）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SZSLHQJYKXYJYFSZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SZSLHQJYKXYJYFSZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===山西省吕梁市方山县第一中学（10240）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SXSLLSFSXDYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SXSLLSFSXDYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌山区黄山学校（10242）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_BSQHSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSQHSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区红塔幼儿园图书室（10243）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQHTYEYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQHTYEYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区古杏幼儿园图书室（10244）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQGXYEYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQGXYEYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区时光印象幼儿园图书室（10245）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQSGYXYEYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQSGYXYEYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区湖山樾幼儿园图书室（10246）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQHSYYEYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQHSYYEYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区文教幼儿园龙湖分园图书室（10247）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQWJYEYLHFYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQWJYEYLHFYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===龙子湖区山湖雅苑幼儿园图书室（10248）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_LZHQSHYYYEYTSS(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZHQSHYYYEYTSS(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===济南护理学院（10249）====
    // <summary>
    // 9位阿拉伯数字
    // 10位阿拉伯数字
    // </summary>
    private static long Convert_JNHLXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 9 || szBarCode.length() == 10) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JNHLXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===泾县青少年活动中心（10250）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_JXQSNHDZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JXQSNHDZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===沈阳大学图书馆（10251）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_SYDXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SYDXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===乐平火箭某旅（10252）====
    // <summary>
    // 12 + 5位阿拉伯数字
    // </summary>
    private static long Convert_LPHJML(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 && szBarCode.startsWith("12") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LPHJML(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "12" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===桂林电子科技大学北海校区图书馆（10253）====
    // <summary>
    // 
    // </summary>
    private static long Convert_GLDZKJDXBHXQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt16(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GLDZKJDXBHXQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt16(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===中心湖小学（10254）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_ZXHXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZXHXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===盘锦市图书馆（10255）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_PJSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            //szBarCode = szBarCode.toUpperCase();
            //if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
            // ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong("1" + szBarCode);
            //}
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_PJSTSG(long lBarCode) {
        String szBookID = "";
        try {
            //if (Long.toString(lBarCode).charAt(0)=='1')
            //{
            //    szBookID = Long.toString(lBarCode).substring(1);
            //}
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===上海市位育中学（10256）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SHSWYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SHSWYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===河北宣化科技职业学院（10257）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HBXHKJZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HBXHKJZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===株洲市二中枫溪学校（10258）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZZSEZFXXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZZSEZFXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===江西省乐安县职业中学（10259）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_JXSLAXZYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JXSLAXZYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===海南省澄迈县委党校（10260）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HNSCMXWDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNSCMXWDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===北京市十一学校龙樾实验中学（10261）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_BJSSYXXLYSYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJSSYXXLYSYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===扬州市文峰小学（10262）====
    // <summary>
    // 第一位是字母，后七位数字，共八位，比如B0000001，Q1234567
    // </summary>
    private static long Convert_YZSWFXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YZSWFXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===扬州市李典学校（10263）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_YZSLDXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YZSLDXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===扬州市汶河小学东校区（10264）====
    // <summary>
    // 八位纯数字或第一位字母，后七位数字，比如 12345678，B1234567
    // </summary>
    private static long Convert_YZSWHXXDXQ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("2" + Convert.ToInt16(szBarCode.toUpperCase().charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YZSWHXXDXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===兰州市城关区书房（10265）====
    // <summary>
    // LZ + 10为数字
    // 7为数字
    // </summary>
    private static long Convert_LZSCGQSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 12 && szBarCode.startsWith("LZ") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZSCGQSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "LZ" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===云阳县宣传部图书馆（10266）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_YYXXCBTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YYXXCBTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===浙江同济科技职业学院（10267）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_ZJTJKJZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 6 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZJTJKJZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===浙江经济职业技术学院（10268）====
    // <summary>
    // TZ+六位纯数字
    // TZ+七位纯数字
    // QC+7位纯数字
    // </summary>
    private static long Convert_ZJJJZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 9) && szBarCode.startsWith("TZ") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(2));
            }
            if (szBarCode.length() == 9 && szBarCode.startsWith("QC") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZJJJZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "TZ" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "QC" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆市南川隆化职业中学（10269）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZQSNCLHZYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQSNCLHZYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===荣县梧桐树小学（10270）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_RXWTSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_RXWTSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===剑河县中等职业学校（10271）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_JHXZDZYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JHXZDZYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===山东省昌邑市第三实验小学（10272）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SDSCYSDSSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDSCYSDSSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===东北育才沈抚示范学校（10273）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_DBYCSFSFXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DBYCSFSFXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===恩施咸丰中等职业学校（10274）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ESXFZDZYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ESXFZDZYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===南阳市第十五小学（10275）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // D+6/7位数字
    // </summary>
    private static long Convert_NYSDSWXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'D' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NYSDSWXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "D" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===扬州市东花园小学（10276）====
    // <summary>
    // 共8位，第1位是字母，后7位为数字，例如B1234567
    // </summary>
    private static long Convert_YZSDHYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YZSDHYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===丹徒区图书馆（10277）====
    // <summary>
    // 8位阿拉伯数字
    // 9位阿拉伯数字
    // 1位大写字母 + 9位阿拉伯数字
    // </summary>
    private static long Convert_DTQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 10 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DTQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===眉山党校（10278）====
    // <summary>
    // 6/7/8/9位阿拉伯数字
    // </summary>
    private static long Convert_MSDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MSDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===临沂卫生学校（10279）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_LYWSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 6 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LYWSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===吉林工商学院（10280）====
    // <summary>
    // 9位阿拉伯数字
    // </summary>
    private static long Convert_JLGSXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 9 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JLGSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ====新建随机因子====
    // <summary>
    // 新建随机因子
    // </summary>
    // <returns></returns>
    static int GetRandomSeed() {
        SecureRandom rng = new SecureRandom();
        byte[] bytes = new byte[4];
        rng.nextBytes(bytes);
        return java.nio.ByteBuffer.wrap(bytes).getInt();
    }


    //  #region ===大足档案馆（10281）====
    // <summary>
    // 档案馆，不限制
    // </summary>
    @SuppressLint("NewApi")
    private static long Convert_DZDAG(String szBarCode) {
        long lBookID = 0;
        try {
            Random objRadom = new Random(GetRandomSeed());

            lBookID = Long.parseLong(LocalDate.now().format(DateTimeFormatter.ofPattern("MMdd")) + String.format("%08d", objRadom.nextInt(99999999) + 1));
            return lBookID;
            //szBarCode = szBarCode.toUpperCase();
            //if(szBarCode.length() == 13 &&
            // ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong("1" + szBarCode);
            //}
            //if ((szBarCode.length() == 14) && szBarCode.substring(8,2) == "30" &&
            // ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong( "1" + szBarCode.substring(0,8) + szBarCode.substring(10));
            //}
            //if(szBarCode.length() == 13 && szBarCode.substring(8,1) == "Y" &&
            //        ZHENGZBDS.IsValidString(szBarCode.substring(0, 8), ZHENGZBDS.ZZValidNumber) == true &&
            //        ZHENGZBDS.IsValidString(szBarCode.substring(9), ZHENGZBDS.ZZValidNumber) )
            //{
            //    return Long.parseLong( "2" + szBarCode.substring(0, 8) + szBarCode.substring(9));
            //}
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DZDAG(long lBarCode) {
        String szBookID = "";
        try {
            //if (Long.toString(lBarCode).charAt(0)=='1')
            //{
            //    szBookID = Long.toString(lBarCode).substring(1);
            //}
            //if (Long.toString(lBarCode).charAt(0)=='1')
            //{
            //    szBookID = Long.toString(lBarCode).substring(1, 8) + "30" + Long.toString(lBarCode).substring(9);
            //}
            //else if(Long.toString(lBarCode).charAt(0)=='2')
            //{
            //    szBookID = Long.toString(lBarCode).substring(1, 8) + "Y" + Long.toString(lBarCode).substring(9);
            //}
            return "0";
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===青岛西海岸新区市民文化中心图书馆（10282）====
    // <summary>
    // 14位1002是固定的开头
    // 10000430000141
    // </summary>
    private static long Convert_QDXHAXQSMWHZXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 14 && szBarCode.startsWith("1002") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(4));
            } else if (szBarCode.length() == 14 && szBarCode.startsWith("100006") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(6), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(6));
            } else if (szBarCode.length() == 14 && szBarCode.startsWith("10000") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(5), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(5));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QDXHAXQSMWHZXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "1002" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "100006" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = "10000" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===哈尔滨第二十四中学（10283）====
    // <summary>
    // 13位阿拉伯数字
    // </summary>
    private static long Convert_HEBDESSZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 13 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HEBDESSZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //#region ===昆明市西冲小学（10284）====
    //// <summary>
    //// 6/7/8位阿拉伯数字
    //// </summary>
    //private static long Convert_KMSXCXX(String szBarCode)
    //{
    //    long lBookID = 0;
    //    try
    //    {
    //        szBarCode = szBarCode.toUpperCase();
    //        if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
    //         ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) )
    //        {
    //            return Long.parseLong("1" + szBarCode);
    //        }
    //        return lBookID;
    //    }
    //    catch (Exception e)
    //    {
    //        return 0;
    //    }
    //}
    //private static String Convert_KMSXCXX(long lBarCode)
    //{
    //  String szBookID = "";
    //    try
    //    {
    //        if (Long.toString(lBarCode).charAt(0)=='1')
    //        {
    //            szBookID = Long.toString(lBarCode).substring(1);
    //        }
    //        return szBookID;
    //    }
    //    catch (Exception e)
    //    {
    //        return szBookID;
    //    }
    //}
    //

    //  #region ===山东建筑大学（10285）====
    // <summary>
    //7位阿拉伯数字
    // </summary>
    private static long Convert_SDJZDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDJZDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蒲城县槐院里城市书房（10286）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_PCXHYLCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_PCXHYLCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===阳谷县图书馆（10287）====
    // <summary>
    // 6位阿拉伯数字
    // YGSF+7位数字
    // </summary>
    private static long Convert_YGXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 10 && szBarCode.startsWith("SZL") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(3), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode.substring(3));
            }
            if (szBarCode.length() == 11 && szBarCode.startsWith("YGSF") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("4" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YGXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0) == '9') {
                szBookID = Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = "SZL" + Long.toString(lBarCode).substring(1);
            } else if (Long.toString(lBarCode).charAt(0)=='4') {
                szBookID = "YGSF" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===西安战略支援部队（10300）====

    // <summary>
    //:两位字母+0~9位纯数字
    // </summary>
    private static long Convert_XAZLZYBD(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() >= 2 && szBarCode.length() <= 11 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XAZLZYBD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===宁波市海曙区洞桥镇中心小学（10301）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_NBSHSQDQZZXXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NBSHSQDQZZXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===株洲雅礼学校（10302）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // Y123456
    // </summary>
    private static long Convert_ZZYLXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'Y' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZZYLXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "Y" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===柳州市思贤中学（10303）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_LZSSXZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LZSSXZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===四川甘孜州理塘县濯桑片区寄宿制完全中学（10304）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_SCGZZLTXZSPQJSZWQZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SCGZZLTXZSPQJSZWQZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===陕煤集团张家峁公司图书馆（10305）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_SMJTZJMGSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SMJTZJMGSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===宁夏职业技术学院（10306）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_NXZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NXZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===西湖大学（10307）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_XHDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XHDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===新疆第三师总医院职工智慧图书馆（10308）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_XJDSSZYYZGZHTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XJDSSZYYZGZHTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===哈尔滨工业大学青岛校区（10309）====
    // <summary>
    // 7位阿拉伯数字
    // 1位字母 + 6位阿拉伯数字
    // 2位字母 + 6位阿拉伯数字
    // </summary>
    private static long Convert_HEBGYDXQDXQ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            } else if (szBarCode.length() == 7 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber)) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0))
                        + szBarCode.substring(1));
            } else if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                return Long.parseLong("3" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            }


            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HEBGYDXQDXQ(long lBarCode) {
        String szBookID = "";
        try {

            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===皮山县职业技术学校（10310）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_PSXZYJSXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_PSXZYJSXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===湖北赤壁车埠中学（10311）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HBCBCBZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HBCBCBZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===惠州市惠城区技工学校（10312）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HZSHCQJGXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HZSHCQJGXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===长江设计公司职工书屋（10313）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CJSJGSZGSW(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CJSJGSZGSW(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===台州技师学院（10314）====
    // <summary>
    // 11位阿拉伯数字
    // </summary>
    private static long Convert_TZJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 11 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TZJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===确山城市书房（10315）====
    // <summary>
    // 一位字母+ 7位阿拉伯数字
    // </summary>
    private static long Convert_QSCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QSCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===武汉光谷为明实验学校（10316）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_WHGGWMSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WHGGWMSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===东莞市第一中学（10317）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_DGSDYZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DGSDYZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===郑州市郑东新区丰盈路初级中学（10318）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZZSZDXQFYLCJZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZZSZDXQFYLCJZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===武汉市蔡甸职业教育中心学校（10319）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_WHSCDZYJYZXXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_WHSCDZYJYZXXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===桐城市图书馆文化旅游局书房（10320）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_TCSTSGWHLYJSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TCSTSGWHLYJSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===山东特殊教育职业学院（10321）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_SDTSJYZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SDTSJYZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===民治街道北站社区党群服务中心（10322）====
    // <summary>
    // 044 + 11位阿拉伯数字
    // </summary>
    private static long Convert_MZJDBZSQDQFWZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 14 && szBarCode.startsWith("044") &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(3));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MZJDBZSQDQFWZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "044" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===中南财经政法大学法学院（10323）====
    // <summary>
    // 9位阿拉伯数字
    // 8位阿拉伯数字
    // 1位字母+ 8位阿拉伯数字
    // </summary>
    private static long Convert_ZNCJZFDXFXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 9 || szBarCode.length() == 8) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 9 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZNCJZFDXFXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===阜宁白天鹅图书馆（10324）====
    // <summary>
    // C＋6位纯数字
    // B＋6位纯数字
    // </summary>
    private static long Convert_FNBTETSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'C' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode.substring(1));
            }
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'B' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FNBTETSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = "C" + Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = "B" + Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===清华附中文昌学校（10325）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_QHFZWCXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_QHFZWCXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===北京武警执勤九支队（10326）====
    // <summary>
    // 052T+9位数字  
    // 059F+9位数字  
    // 059CW+8位数字 
    // 032Z+7位数字  
    // 021T+9位数字
    // </summary>
    private static long Convert_BJWJZQJZD(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 13 && szBarCode.startsWith("052T") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("10" + szBarCode.substring(4));
            }
            if (szBarCode.length() == 13 && szBarCode.startsWith("059F") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("20" + szBarCode.substring(4));
            }
            if (szBarCode.length() == 13 && szBarCode.startsWith("059CW") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(5), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("21" + szBarCode.substring(5));
            }
            if (szBarCode.length() == 11 && szBarCode.startsWith("032Z") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("30" + szBarCode.substring(4));
            }
            if (szBarCode.length() == 13 && szBarCode.startsWith("021T") &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(4), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("40" + szBarCode.substring(4));
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJWJZQJZD(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).startsWith("10")) {
                szBookID = "052T" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).startsWith("20")) {
                szBookID = "059F" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).startsWith("21")) {
                szBookID = "059CW" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).startsWith("30")) {
                szBookID = "032Z" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).startsWith("40")) {
                szBookID = "021T" + Long.toString(lBarCode).substring(2);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===一体化商务服务中心（10327）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_YTHSWFWZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YTHSWFWZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===漳州市长泰区第四实验小学（10328）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZZSCTQDSSYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZZSCTQDSSYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===莆田市涵江区图书馆（10329）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_PTSHJQTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_PTSHJQTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===唐山幼儿师范高等专科学校（10330）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_TSYESFGDZKXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_TSYESFGDZKXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===仲恺农业工程学院（10331）====
    // <summary>
    // 一位大写字母+7位数字，如:A1234567
    // </summary>
    private static long Convert_ZKNYGCXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZKNYGCXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===甘肃机电职业技术学院（10332）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_GSJDZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GSJDZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===中关村第二小学（10333）====
    // <summary>
    // 一位大写字母+5/6位数字
    // </summary>
    private static long Convert_ZGCDEXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 6 || szBarCode.length() == 7) && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZGCDEXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌埠市图书馆（10334）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_BBSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 10) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BBSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆科技大学（10335）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_ZQKJDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQKJDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===黑龙江建筑职业技术学院（10336）====
    // <summary>
    // 7/8/9位阿拉伯数字
    // </summary>
    private static long Convert_HLJJZZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 9 || szBarCode.length() == 8 || szBarCode.length() == 7) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HLJJZZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===空天信息大学（10337）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_KTXXDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_KTXXDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===湖北工业大学图书馆（10339）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_HBGYDXTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HBGYDXTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===焦作工贸职业学院（10340）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_JZGMZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 9) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_JZGMZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===八益集团城市书房（10340）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_BYJTCSSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BYJTCSSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===四川凉山螺髻山中学（10341）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_SCLSLJSZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_SCLSLJSZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆财经职业学院（10342）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_ZQCJZYXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQCJZYXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌山区市民广场书房（10343）====
    // <summary>
    // 8/12位阿拉伯数字
    // </summary>
    private static long Convert_BSQSMGCSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSQSMGCSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌山区瀚百书房（10344）====
    // <summary>
    //  8/12位阿拉伯数字
    // </summary>
    private static long Convert_BSQHBSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSQHBSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌山区金恒书房（10345）====
    // <summary>
    // 8/12位阿拉伯数字
    // </summary>
    private static long Convert_BSQJHSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSQJHSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===蚌山区南山书苑书房（10346）====
    // <summary>
    // 8/12位阿拉伯数字
    // </summary>
    private static long Convert_BSQNSSYSF(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BSQNSSYSF(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===西宁大学（10347）====
    // <summary>
    // 9位阿拉伯数字
    // </summary>
    private static long Convert_XNDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 9 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XNDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===闽南师范大学（10348）====
    // <summary>
    // 8位条码：A+7位数字、AZ+6位数字、AL+6位数字、AT+6位数字、AK+6位数字、B+7位数字、BZ+6位数字、BR+6位数字、                     
    // RH.RY.RJ.RZ.RL.RT.RS.RA.RE.RB+6位数字
    // 7位条码：7位数字
    // 6位条码：6位数字、X+5位数字
    // </summary>
    private static long Convert_MNSFDX(String szBarCode) {
        long lBookID = 0;
        try {


            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                if (szBarCode.charAt(0) == 'A') {
                    return Long.parseLong("1" + "01" + szBarCode.substring(1));
                }
                if (szBarCode.charAt(0) == 'B') {
                    return Long.parseLong("1" + "02" + szBarCode.substring(1));
                }
            }
            List<String> szHead = new ArrayList<String>() {{
                add("AZ");
                add("AL");
                add("AT");
                add("AK");
                add(
                        "BZ");
                add("BR");
                add("RH");
                add(
                        "RY");
                add("RJ");
                add("RZ");
                add("RL");
                add("RT");
                add("RS");
                add("RA");
                add("RE");
                add("RB");
            }};


            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                String substring = szBarCode.substring(0, 2);
                int num = 0;
                for (int i = 0; i < szHead.size(); i++) {
                    if (Objects.equals(szHead.get(i), substring))
                        num = i;
                }

                return Long.parseLong("2" + String.format("%02d", num) + szBarCode.substring(2));
            }

            if ((szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("3" + szBarCode);
            }
            if (szBarCode.length() == 6 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {

                if (szBarCode.charAt(0) == 'X') {
                    return Long.parseLong("4" + "01" + szBarCode.substring(1));
                }
            }

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_MNSFDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                if (Long.toString(lBarCode).substring(1, 2).equals("01")) {
                    szBookID = "A" + Long.toString(lBarCode).substring(3);
                }
                if (Long.toString(lBarCode).substring(1, 2).equals("02")) {
                    szBookID = "B" + Long.toString(lBarCode).substring(3);
                }
            }
            List<String> szHead = new ArrayList<String>() {{
                add("AZ");
                add("AL");
                add("AT");
                add("AK");
                add(
                        "BZ");
                add("BR");
                add("RH");
                add(
                        "RY");
                add("RJ");
                add("RZ");
                add("RL");
                add("RT");
                add("RS");
                add("RA");
                add("RE");
                add("RB");
            }};

            if (Long.toString(lBarCode).charAt(0)=='2') {
                int num = Integer.parseInt(Long.toString(lBarCode).substring(1, 2));
                szBookID = szHead.get(num) + Long.toString(lBarCode).substring(3);
            }

            if (Long.toString(lBarCode).charAt(0)=='3') {
                szBookID = Long.toString(lBarCode).substring(1);
            }

            if (Long.toString(lBarCode).charAt(0)=='4') {
                if (Long.toString(lBarCode).substring(1, 2).equals("01")) {
                    szBookID = "X" + Long.toString(lBarCode).substring(3);
                }
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===天虹和煦幼儿园（10349）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_THHXYEY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_THHXYEY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===行知幼儿园（10350）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_XZYEY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XZYEY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===拂晓国祯幼儿园（10351）====
    // <summary>
    // 7位阿拉伯数字
    // </summary>
    private static long Convert_FXGZYEY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_FXGZYEY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===南方医科大学（10352）====
    // <summary>
    // 两位大写字母+6位数字，如:AA123456
    // </summary>
    private static long Convert_NFYKDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber)) {
                lBookID = Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1))
                        + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NFYKDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===宁夏工业学校（10353）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_NXGYXX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NXGYXX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===淮南联合大学（10354）====
    // <summary>
    // 9位阿拉伯数字
    // </summary>
    private static long Convert_HNLHDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 9 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNLHDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===鲁迅美术学院大连校区（10355）====
    // <summary>
    // 7位纯数字，L+6位数字，W+6位数字，G+6位数字
    // </summary>
    private static long Convert_LXMSXYDLXQ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 7 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'L' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("21" + szBarCode.substring(1));
            }
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'W' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("22" + szBarCode.substring(1));
            }
            if (szBarCode.length() == 7 && szBarCode.charAt(0) == 'G' &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("23" + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_LXMSXYDLXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            if (Long.toString(lBarCode).substring(0, 2).equals("21")) {
                szBookID = "L" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).substring(0, 2).equals("22")) {
                szBookID = "W" + Long.toString(lBarCode).substring(2);
            }
            if (Long.toString(lBarCode).substring(0, 2).equals("23")) {
                szBookID = "G" + Long.toString(lBarCode).substring(2);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===南京工程学院（10356）====
    // <summary>
    // 6位阿拉伯数字
    // </summary>
    private static long Convert_NJGCXY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 6 &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_NJGCXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===广东财经大学（10357）====
    // <summary>
    // 一位大写字母+7位数字
    // 两位字母+6位数字
    // </summary>
    private static long Convert_GDCJDX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + Convert.ToInt32(szBarCode.charAt(0)) + szBarCode.substring(1));
            }
            if (szBarCode.length() == 8 && Character.isLetter(szBarCode.charAt(0)) && Character.isLetter(szBarCode.charAt(1)) &&
                    ZHENGZBDS.IsValidString(szBarCode.substring(2), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("2" + Convert.ToInt32(szBarCode.charAt(0))
                        + Convert.ToInt32(szBarCode.charAt(1)) + szBarCode.substring(2));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_GDCJDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Long.toString(lBarCode).substring(3);
            }
            if (Long.toString(lBarCode).charAt(0)=='2') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 2)))
                        + Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(3, 2)))
                        + Long.toString(lBarCode).substring(5);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===盐城市盐都区神州路小学开元路校区（10358）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_YCSYDQSZLXXKYLXQ(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_YCSYDQSZLXXKYLXQ(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===重庆渝中区图书馆（10359）====
    // <summary>
    // 建库仅用于激活
    // </summary>
    private static long Convert_ZQYZQTSG(String szBarCode) {
        long lBookID = 0;
        try {

            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_ZQYZQTSG(long lBarCode) {
        String szBookID = "";
        try {

            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===新疆ML部队图书馆（10360）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_XJMLBDTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6 || szBarCode.length() == 12) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XJMLBDTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===东华山禅寺图书馆（10361）====
    // <summary>
    // 8位阿拉伯数字
    // </summary>
    private static long Convert_DHSCSTSG(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if (szBarCode.length() >= 6 && szBarCode.length() <= 8
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_DHSCSTSG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===黑龙江武警总队医院（10362）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HLJWJZDYY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HLJWJZDYY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===潮州市潮安区教师发展中心（10363）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_CZSCAQJSFZZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CZSCAQJSFZZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===华中师范大学龙岗附属中学狮山书院（10364）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HZSFDXLGFSZXSSSY(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HZSFDXLGFSZXSSSY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===河南省安阳市光明中学（10365）====
    // <summary>
    // 6/7/8位阿拉伯数字
    // </summary>
    private static long Convert_HNSAYSGMZX(String szBarCode) {
        long lBookID = 0;
        try {
            szBarCode = szBarCode.toUpperCase();
            if ((szBarCode.length() == 8 || szBarCode.length() == 7 || szBarCode.length() == 6) &&
                    ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_HNSAYSGMZX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0)=='1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===北京军事博物馆（10366）====
    // <summary>
    // 一位字母+9位数字
    // </summary>
    private static long Convert_BJJSBWG(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 10)
                    && Character.isLetter(szBarCode.charAt(0))
                    && ZHENGZBDS.IsValidString(szBarCode.substring(1), ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" +
                        String.format("%03d", Convert.ToInt32(szBarCode.charAt(0)))
                        + szBarCode.substring(1));
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_BJJSBWG(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                szBookID = Convert.ToChar(Convert.ToInt32(Long.toString(lBarCode).substring(1, 3))) + Long.toString(lBarCode).substring(4);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===安徽水利水电职业技术学院（10367）====
    // <summary>
    // 8位纯数字
    // </summary>
    private static long Convert_AHSLSDZYJSXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 8)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_AHSLSDZYJSXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===长春中医药大学（10368）====
    // <summary>
    // 8位纯数字
    // </summary>
    private static long Convert_CCZYYDX(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 7)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_CCZYYDX(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }


    //  #region ===新乡工程学院（10369）====
    // <summary>
    // 9位纯数字
    // </summary>
    private static long Convert_XXGCXY(String szBarCode) {
        long lBookID = 0;
        try {
            if ((szBarCode.length() == 9)
                    && ZHENGZBDS.IsValidString(szBarCode, ZHENGZBDS.ZZValidNumber) ) {
                return Long.parseLong("1" + szBarCode);
            }
            return lBookID;
        } catch (Exception e) {
            return 0;
        }
    }

    private static String Convert_XXGCXY(long lBarCode) {
        String szBookID = "";
        try {
            if (Long.toString(lBarCode).charAt(0) == '1') {
                szBookID = Long.toString(lBarCode).substring(1);
            }
            return szBookID;
        } catch (Exception e) {
            return szBookID;
        }
    }

}
